ObjectVerbsCount Property

Applies To

Bound Object Frame Control, Chart Control, Unbound Object Frame Control.

Description

You can use the ObjectVerbsCount property in Visual Basic to determine the number of verbs supported by an OLE object. A verb, such as edit or play, specifies an operation a user can perform on an OLE object.

Setting

The ObjectVerbsCount property setting is an Integer data type value that specifies the number of elements in the ObjectVerbs property array.

This property setting isn’t available in Design view and is read-only in other views.

Remarks

The list of verbs an OLE object supports may vary, depending on the state of the object. To update the list of supported verbs, set the control’s Action property to acOLEFetchVerbs.

See Also

Action Property, ObjectVerbs Property, Verb Property.

Example

See the ObjectVerb property example.