Click or drag to resize

AppCommandEvent Class

X#
Provide information about an AppCommand event, which is launched by the extra keys on an extended keyboard or mouse.
Inheritance Hierarchy
Object
  Event
    AppCommandEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS AppCommandEvent INHERIT Event
Request Example View Source

The AppCommandEvent type exposes the following members.

Constructors
  NameDescription
Public methodAppCommandEvent
Initializes a new instance of the AppCommandEvent class
Top
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
Remarks
The AppCommandEvent class is created by X# in responce to the activation of a key on an Extended keyboard or mouse.
See Also

Reference