Vcl.ActnMenus.TCustomActionMenuBar.ParentControl
Delphi
property ParentControl: TCustomActionControl read FParentControl write FParentControl;
C++
__property Vcl::Actnman::TCustomActionControl* ParentControl = {read=FParentControl, write=FParentControl};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomActionMenuBar |
Description
Refers to the parent object of the TCustomActionBarControl.
Use ParentControl to obtain a reference to the parent object which created the TCustomActionMenuBar object. This property is used mostly for popup menus, where the content of the menu depends upon the object in which the menu is appearing (the parent object). ParentControl is simply a reference to that object.