Click or drag to resize

AppCommandEvent Properties

X#

The AppCommandEvent type exposes the following members.

Properties
  NameDescription
Public propertyCommand
The command associated with this event.
Public propertyIsControl
Returns TRUE if the Control Key is down; otherwise, FALSE.
Public propertyIsDeviceKey
Returns TRUE if the device that issued the command was a keyboard; otherwise, FALSE.
Public propertyIsDeviceMouse
Returns TRUE if the device that issued the command was a mouse; otherwise, FALSE.
Public propertyIsDeviceOEM
Returns TRUE if the device that issued the command was an OEM device; otherwise, FALSE.
Public propertyIsLeftButton
Returns TRUE if the Left mouse button is down; otherwise, FALSE.
Public propertyIsMiddleButton
Returns TRUE if the Middle mouse button is down; otherwise, FALSE.
Public propertyIsRightButton
Returns TRUE if the Right mouse button is down; otherwise, FALSE.
Public propertyIsShift
Returns TRUE if the Shift Key is down; otherwise, FALSE.
Public propertyIsXButton1
Returns TRUE if the first X mouse button is down; otherwise, FALSE.
Public propertyIsXButton2
Returns TRUE if the second X mouse button is down; otherwise, FALSE.
Public propertyoTarget
Returns the target of the command. If it is a Key event the target is focused control or window. If it is a Mouse event the target is the control or window that is under the mouse pointer.
Top
See Also