RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionMenuBar.ParentControl Property

Refers to the parent object of the TCustomActionBarControl.

Pascal
property ParentControl: TCustomActionControl;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!