DesignIntf.IComponentEditor.ExecuteVerb

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IComponentEditor

Delphi

procedure ExecuteVerb(Index: Integer);

C++

virtual void __fastcall ExecuteVerb(int Index) = 0 ;

Description

Performs the action of a specified verb.

The form designer calls ExecuteVerb when the user selects the verb that is returned by GetVerb(Index). This verb is the string that appears in the corresponding position of the component's context menu.

Implement GetVerb to provide a set of verbs, or menu strings, that are added to the context menu which appears when the user right-clicks the component. Implement ExecuteVerb to provide a response to each of these verbs.

See Also