ObjectVerbs Property
Object List Next Object
Defined By: OLE Control
Description:
Returns one of the verbs or actions that an object supports.
Details:
The ObjectVerbs Property is a zero-based string, which returns one of the
verbs that apply to a particular OLE object. These verbs are used to determine an
action to perform when an OLE object is activated (set Action = 7). The verbs
are indexed using the ObjectVerbsIndex Property.
The first verb listed has an index of 0 and is the default; the action that is
performed when the object is activated. All other verbs can be displayed in a
menu. Frequently, the default verb is also displayed in a menu. In this case,
the default verb will have two entries in the ObjectVerbs indexed list.
The ObjectVerbsCount Property returns the total number of verbs supported by
an object. The ObjectVerbsFlag Property returns the current state of each verb.
These two properties are often used along with the ObjectVerbs Property to set
up and build a menu listing the verbs that an object currently supports along
with the state of each verb. An example of this is the Object Command that many
applications displaying OLE objects include. When the user selects Edit Object,
a menu drops down to display the object's verbs.
Data Type: String (Read Only)