Vcl.ActnMenus.TCustomActionMenuBar.ParentControl
Delphi
property ParentControl: TCustomActionControl read FParentControl write FParentControl;
C++
__property Vcl::Actnman::TCustomActionControl* ParentControl = {read=FParentControl, write=FParentControl};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
説明
TCustomActionMenuBar オブジェクトの親オブジェクトを参照します。
ParentControl プロパティを使用すると,TCustomActionMenuBar オブジェクトを作成した親オブジェクトへの参照を取得できます。ほとんどの場合,このプロパティはポップアップメニューに使用されます。ポップアップメニューでは,メニューが表示されるオブジェクト(親オブジェクト)によってメニューの内容が異なります。ParentControl は,親オブジェクトを参照するだけです。