RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMenu.FindItem Method

Locates and returns a menu item.

Pascal
function FindItem(Value: Integer; Kind: TFindItemKind): TMenuItem;
C++
__fastcall TMenuItem FindItem(int Value, TFindItemKind Kind);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!