TMenuItem.GetParentComponent function
Gets the menu for the Parent component when available.
Declaration
function GetParentComponent: TComponent; overrideFunction result
Parent menu item or menu for the current class instance.
Description
Overridden to ensure that the TMenu instance for the
Parent menu item is used (when assigned). If not assigned, the
value in Parent is returned. GetParentComponent does not call the inherited
method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
