ObjectVerbsCount Property

Applies To   ActiveX control, 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.

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 ObjectVerbs property example.