RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.DoObjectVerb Method

Notifies the ActiveX control to perform one of its actions.

Pascal
procedure DoObjectVerb(Verb: Integer);
C++
__fastcall DoObjectVerb(int Verb);

Use DoObjectVerb to notify the ActiveX control to perform one of its actions. Verb is an integer that corresponds to the action. Most application-defined verbs are small positive integers.

Verb Name 
Verb 
OLEIVERB_PRIMARY  
0  
OLEIVERB_SHOW  
–1  
OLEIVERB_OPEN  
–2  
OLEIVERB_HIDE  
–3  
OLEIVERB_UIACTIVATE  
–4  
OLEIVERB_INPLACEACTIVATE  
–5  
OLEIVERB_DISCARDUNDOSTATE  
–6  
OLEIVERB_PROPERTIES  
–7  

For more information about verbs, search the OLE.HLP file or the latest Microsoft Developer Network CD. 

 

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