Vcl.Menus.TMenu.FindItem
Delphi
function FindItem(Value: NativeUInt; Kind: TFindItemKind): TMenuItem;
C++
TMenuItem* __fastcall FindItem(System::NativeUInt Value, TFindItemKind Kind);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TMenu |
Description
Locates and returns a menu item.
Call FindItem to locate a menu item in the menu or one of its submenus. The menu item is identified by either a pop-up menu handle, command ID, or menu shortcut value. The Kind parameter specifies how the menu item is to be identified.