RAD Studio VCL Reference
TCustomActionMenuBar.ParentControl Property

Refers to the parent object of the TCustomActionBarControl.

property ParentControl: TCustomActionControl;
__property TCustomActionControl ParentControl;

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!