TdxBarManager.MainForm Property
Specifies the parent form of the current bar manager.
Declaration
property MainForm: TCustomForm read;
Property Value
Type |
---|
TCustomForm |
Remarks
A bar manager can be placed on any window, which is a TCustomForm class descendant (form, frame or dialog). To access the parent window, use the ParentForm property. The MainForm property, which is now obsolete, also provides access to the parent form.
If the parent window is a child window for another window which is also a child window and so on, use the MasterForm property to determine the current bar manager’s root parent window.
Note
Only a single bar manager can belong to a window.
To specify the owner of the current bar manager use the Owner property.
See Also