Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmaKey (Key)

Description:
The object runs the onKeyDown and onKeyUp events of this object after pressing the key or their combinations.

This object is obsolete (but functional) and it is better to use the PmaRoot.onKeyPress event.

 
No other Pma objects can be created in this object.

This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. 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 or F2 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 PmaRoot.onKeyPress event.

This object adopts properties and methods of the PmaObject object.
Properties and methods:
Emulate Emulation of the keystroke
Enabled Enable/disable the keystroke function
Events:
onKeyDown Is triggered after pressing the key
onKeyUp Is triggered after releasing the key
Configuration tabs:
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
See also:

History:
Pm9.00.00: Object name changed: PmKey -> PmaKey
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice