Control property

Microsoft Visio Developer Reference

Control property

   Example   

Determines whether the CTRL key modifies the accelerator key in an AccelItem object.

Version added

3.0

Syntax

intRet = object.Control
object.Control = intExpression

intRet

Integer. True (-1) if the CTRL key modifies the key in an AccelItem object; otherwise, False (0).

object

Required. An expression that returns an AccelItem object.

intExpression

Required Integer. True (non-zero) if the CTRL key modifies the key in an AccelItem object; otherwise, False (0).

Remarks

Set the Control property to True to use the CTRL key as a modifier for an accelerator, for example, CTRL+BACKSPACE.