DesignIntf.IComponentEditor.ExecuteVerb

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ExecuteVerb(Index: Integer);

C++

virtual void __fastcall ExecuteVerb(int Index) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IComponentEditor

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