DesignIntf.IComponentEditor.GetVerbCount
Delphi
function GetVerbCount: Integer;
C++
virtual int __fastcall GetVerbCount() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IComponentEditor |
Description
Returns the number of menu strings that the component editor adds to the context menu.
The form designer calls GetVerbCount when the user right-clicks the component in order to determine the number of menu items that should be added to the context menu. It then adds the menu items by calling GetVerb for every value from 0 to GetVerbCount - 1.