Partager via


AutoVerbMenu Property

Specifies whether a shortcut menu containing an OLE object's verbs is displayed when the OLE object is clicked with the right mouse button. Available at run time only.

Control.AutoVerbMenu[ = lExpr]

Return Value

  • lExpr
    One of the following:

    Setting

    Description

    True (.T.)

    (Default) The shortcut menu containing the OLE object's verbs is displayed when the OLE object is right-clicked.

    False (.F.)

    The shortcut menu containing the OLE object's verbs is not displayed when the OLE object is right-clicked.

Remarks

Applies To: Enabled Property (Visual FoxPro) | OLE Bound Control | OLE Container Control

At run time, if the AutoVerbMenu and Enabled properties are set to true (.T.), right-clicking the OLE object displays the shortcut menu containing the verbs supported by the OLE object. If the AutoVerbMenu and Enabled properties are set to false (.F.) or the OLE object does not support verbs, the shortcut menu isn't displayed when you right-click the OLE object.

See Also

Tasks

How to: Add OLE Objects to Applications

Reference

DoVerb Method

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)