DblClickAction Property

An Integer type property. Determines the user-defined action when the shape is double-clicked. The user-defined action will be effective only if the DblClick property has the same value as DBLCLICK_ACTION.

Applies to: Shape object

Syntax

[[Let] dblClickActionRet =] object.DblClickAction

[Let] object.DblClickAction = dblClickActionSet

The DblClickAction property syntax has these parts:

Part Description
object

Required. An expression that returns a Shape object.

dblClickActionRet Optional. A Byte type variable.
dblClickActionSet Required. An expression that returns a Byte value. Represents the index of the user-defined action in the user-defined actions of the shape. The valid range is from 0 to 256.

Remarks

The DblClickAction property specified the index in the collection of the user-defined action to be performed when the shape is double-clicked. To determine the number of user-defined actions of the shape, use the ActionsNum method. If DblClickAction equals 0, the next action in the collection will be performed each time the shape is double-clicked.

 

See Also

DblClick property, DblClickAction property, Action method, ActionsNum method, Action object