[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find the identity given menu item (named in ACaption).
Source position: menus.pp line 256
public function TMenuItem.Find( |
const ACaption: string |
):TMenuItem; |
ACaption |
|
Caption for the menu item to locate in the method. |
Find is a TMenuItem function used to locate the menu item in Items with the caption specified in the ACaption argument. Find calls IndexOfCaption to get the ordinal position in Items for the specified menu item. If a menu item with the given caption is not found, the return value is Nil.
Version 3.2 | Generated 2024-02-25 | Home |