Condividi tramite


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]

Property Values

  • 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

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

DoVerb Method | Adding OLE Objects to Your Applications

Applies To: Enabled Property, | OLE Bound Control, | OLE Container Control