RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IComponentEditor.GetVerbCount Method

Returns the number of menu strings that the component editor adds to the context menu.

Pascal
function GetVerbCount: Integer;
C++
__fastcall int GetVerbCount();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!