[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the ordinal position in Items for the specified menu item.
Source position: menus.pp line 269
public function TMenuItem.IndexOf( |
Item: TMenuItem |
):Integer; |
Item |
|
Menu item to locate in the Items property. |
Ordinal position for the specified menu item, or -1 when not found.
Calls the IndexOf method in Items to locate the menu item specified in Item. The return value is -1 if Items has not been assigned in the class instance.
|
Provides indexed access to the child menu items for the current class instance. |
Version 3.2 | Generated 2024-02-25 | Home |