RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.PrimaryVerb Property

Specifies the index of the primary (default) verb for the OLE object.

Pascal
property PrimaryVerb: Integer;
C++
__property int PrimaryVerb;

Use PrimaryVerb to determine which verb in the ObjectVerbs list specifies the default action for the OLE object. In a call to the DoVerb method, DoVerb(ovPrimary) is the same as DoVerb(PrimaryVerb). An OLE object must already be loaded in the container before accessing the PrimaryVerb property. 

 

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