Xceed SmartUI Documentation
Shortcut property
Properties > Shortcut property

Returns/sets a string indicating the combination of key presses that will cause a SmartItem to behave as if it had been clicked.

Shortcut() As String

Syntax

SmartUI.SmartItems(KeyOrIndex).Shortcut [= String]

Remarks

The syntax of a shortcut is [Alt+][Ctrl+][Shift+]Key where Key is an ANSI Key or a Reserved Key:

Reserved Key Value
Num + vbKeyAdd
Backspace vbKeyBack
Clear vbKeyClear
Num . vbKeyDecimal
Num / vbKeyDivide
Del vbKeyDelete
Down vbKeyDown
End vbKeyEnd
Esc vbKeyEscape
F1 - F16 vbKeyF1 - vbKeyF16
Home vbKeyHome
Insert vbKeyInsert
Left vbKeyLeft
Pause vbKeyPause
Num * vbKeyMultiply
Num 0 - Num 9 vbKeyNumpad0 - vbKeyNumpad9
Page Down vbKeyPageDown
Page Up vbKeyPageUp
Return vbKeyReturn
Right vbKeyRight
Space vbKeySpace
Num - vbKeySubtract
Tab vbKeyTab
Up vbKeyUp

Applies To

SmartItem

See Also

Click, Caption