RAD Studio VCL Reference
|
Returns the position of a shortcut in the list.
function IndexOfShortCut(const Shortcut: TShortCut): Integer;
__fastcall int IndexOfShortCut(const TShortCut Shortcut);
Call IndexOfShortCut to locate a shortcut in the list. IndexOfShortCut returns the position of the first occurrence of ShortCut in the list, where 0 is the position of the first shortcut, 1 is the position of the second shortcut, and so on. If the shortcut does not appear in the list, IndexOfShortCut returns –1.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|