DesignIntf.IComponentEditor.GetVerbCount

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function GetVerbCount: Integer;

C++

virtual int __fastcall GetVerbCount() = 0 ;

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.

See Also