[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the parent menu to which this menu item belongs.
Source position: menus.pp line 261
Menu for the top-most unparented menu item in the hierarchy, or Nil when not found.
GetParentMenu is a TMenu function used to get the menu where the menu item or its Parent menu item is located. GetParentMenu visits each of the Parent menu items. When an item is located without an assigned Parent, its Menu property is used as the return value for the method. The return value is Nil if all menu items in the hierarchy have a Parent menu item.
GetParentMenu is used in methods like GetIsRightToLeft, GetImageList, DoDrawItem, and DoMeasureItem.
|
Determines whether right-to-left display is enabled for the menu item. |
|
|
Gets an image list with the available bitmaps for the menu item. |
|
|
Performs actions needed to draw the menu item to the specified Canvas. |
|
|
Performs actions needed to get the width and height for the menu item. |
Version 3.2 | Generated 2024-02-25 | Home |