Object PmKey (Key)
The object runs the onKeyDown
events of this object by pressing the key or their combinations.
No other PROMOTIC objects can be created in this object. This object can be created in the PmRoot
objects. Multiple objects of this type can be created in such objects.
It is recommended to enter only the more system key combinations like for example Ctrl+Alt+K
key, etc. But some of the keys can already be disabled by the OS Windows
and they won't be functional here.
If other keystrokes have to be caught in general as, for example, Esc, etc., then it can be done in the events PmRoot.onKeyPress.
This object adopts properties and methods of object PmObject
Properties and methods:
|Emulate|| Emulation of the keystroke|
|Enabled|| Enable/disable the keystroke function|
|Object|| General information about the object|
|Content|| Content of the object in the XML form|
|Events|| Definition of object events algorithms|
|Key|| Definition of the shortcut key or their combination|