ObjectVerbFlags Property

See Also12E89JZ

Applies To

OLE control2HQDVVU.

Description

Specifies the menu state for each verbZHILMX in the ObjectVerbs array.  Not available at design time; read-only at run time.

Usage

[form.]ole.ObjectVerbFlags (index)

Remarks

The first verb in the ObjectVerbs array is the default verb.  The remaining verbs in this array are suitable for displaying on a menu.  The ObjectVerbFlags array contains information about the menu state (such as grayed, checked, and so on) for each verb in the ObjectVerbs array.

When displaying a menu containing an object's verbs, check the value of this property to see how the item should be displayed.

The following table describes the possible ObjectVerbFlags.

Constant                      Value                        Description

 

VF_CHECKED              &H0008           The menu item should be checked.

VF_DISABLED             &H0002           The menu item should be disabled (but not grayed).

VF_ENABLED              &H0000           The menu item should be enabled.

VF_GRAYED                &H0001           The menu item should be grayed.

VF_SEPARATOR         &H0800           The menu item is a separator bar.

 

Note   These constant settings are defined in the Visual Basic file CONSTANT.TXT.

 

Data Type

String7WSH0XQ


See Also

Action Property04T78S3

AutoVerbMenu PropertyZQ3UT5

ObjectVerbs Property4JYBHV

ObjectVerbsCount PropertyKJ051S

Verb Property2W0JYV2