[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TMenuItem.Parent

The parent menu item for the class instance.

Declaration

Source position: menus.pp line 308

public property TMenuItem.Parent : TMenuItem
  read GetParent;

Description

Parent is a read-only TMenuItem property where the menu item is hosted and displayed. The property value is assigned in the Insert method when the menu item is added to to the parent menu or menu item. It contain contain Nil if the menu item has not been added to (or has been removed from) a parent menu or menu item.

See also

TMenuItem.Insert

  

Insert stores the specified menu item at the location indicated by Index.

TMenuItem.Delete

  

Deletes the child menu item at the specified position in Items.

TMenuItem.Destroy

  

Destructor for the class instance.

TMenuItem.GetParentComponent

  

Gets the menu for the Parent component when available.

TMenuItem.GetParentMenu

  

Gets the parent menu to which this menu item belongs.


Version 3.2 Generated 2024-02-25 Home