onButtonDown - event of the PmgButton object

The event is triggered after pressing the button (by the keyboard or the mouse).
pMe(Object) Reference to the PmgButton object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
This event is triggered only if the "Control enabled" configurator is checked.

This event is also functional in Web panels.

It ISN'T advisable to place methods that call another window on the workspace (e.g. Pm.InputBox, etc.) in the script. If such method is used, then it can results to NOT invoking the onButtonUp event. Scripts calling other windows must be placed in the script of the onButtonUp event.
See also:
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.