Vcl.Controls.TDockTree.GetControlBounds
Delphi
procedure GetControlBounds(Control: TControl; out CtlBounds: TRect);
C++
void __fastcall GetControlBounds(TControl* Control, /* out */ System::Types::TRect &CtlBounds);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDockTree |
説明
すでにドッキングされているコントロールに割り当てられている寸法を返します。
GetControlBounds は,コントロールがドッキングされているゾーンの寸法を返します。
Control は,現在ドッキングされているコントロールです。
CtlBounds は,Control がドッキングされているゾーンの寸法を返します。関連付けられたドッキングサイトに現在ドッキングされているオブジェクトが Control に指定されていない場合,CtlBounds は(0,0,0,0)を返します。