RAD Studio VCL Reference
|
Returns the string that corresponds to a specified position of the component's context menu.
function GetVerb(Index: Integer): string;
__fastcall AnsiString GetVerb(int Index);
The form designer calls GetVerb iteratively to build the context menu that appears when the user right-clicks the component.
When implementing GetVerb, add an ampersand (&) to a verb to cause the following character to appear underlined in the context menu and to act as a shortcut key for selecting the menu item. Be sure to add ellipsis (...) to the end of a verb if its corresponding action is to bring up a dialog.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|