TIDEComponentEditor.GetVerb Method
Override GetVerb method to specify the caption of the context menu item. When the end-user right clicks a component in the designer, several menu items are displayed, in addition to the default menu items provided by TAdvCustomFormDesigner.PopupMenu.
Syntax
Unit: FormDesigner
function TIDEComponentEditor.GetVerb(Index: Integer): string; virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Index | Integer | the index of the menu item for which the caption will be provided. |
Returns
The caption of the specified menu item.