Command.LVShortcutKey

Syntax

Command.LVShortcutKey

Data Type

String

Purpose

Specifies the shortcut key that invokes the menu item or user interface element that represents the command. Use this value for the shortcut key element of the short cut cluster input to the LabVIEW Set Menu Item Info function when you create a menu item for the command. This property accounts for the set of shortcut keys LabVIEW run-time menus allow.

Remarks

All LabVIEW shortcut key operations require the <Ctrl> key to be pressed. Examples of shortcut key values include "x" , "w" , and "F12" .

Set the Command.LVShortcutModifier property to True to specify that the shortcut key requires the <Shift> key to be pressed to invoke the command.

The command computes the value of this property according to the kind of command and the current state of the items to which the command applies. However, when you set this property, the command returns only the property values you set for the remainder of the life of the Command object.

See Also

Command.LVShortcutModifier