See Also
Applies To
OLE control.
Description
Specifies an operation to perform when an OLE object is activated (Action = 7).
Usage
[form.]ole.Verb [ = verbnumber ]
Remarks
Each object can support its own set of verbs For example, many objects support the verbs "edit" and "play." Use the ObjectVerbs and ObjectVerbsCount properties to access the list of verbs supported by an object. Set Verb = 1 to specify the first verb in the list, set Verb = 2 to specify the second verb in the list, and so on.
These standard verbs are supported by every object:
Value Action
0 The default action for the object.
1 Activates the object for editing. If the application that created the object supports in-place editing, the object is activated within the OLE control.
2 Opens the object in a separate application window. If the application that created the object supports in-place editing, the object is activated in its own window.
3 For embedded objects, this verb hides the application that created the object.
Note These verbs may not be listed in the ObjectVerbs property array.
Set AutoActivate = 2 (Double-Click) to automatically activate an object when it is double-clicked by the user.
Set AutoVerbMenu = True to display a pop-up menu containing the object's verbs when the user clicks the object with the right mouse button.
Data Type
Integer
Help:
Action Property
AutoActivate Property
AutoVerbMenu Property
ObjectVerbs Property
ObjectVerbsCount Property
OleType Property
OleTypeAllowed Property
Programmer's Guide:
Chapter 22, "Object Linking and Embedding (OLE)"