Update cookies preferences
Promotic

onButtonDown - event of the PmgButton object

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

This event is also functional in Web panels.

Caution:
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 triggering the onButtonUp event. Scripts calling other windows must be placed in the script of the onButtonUp event.
See also:
Example:
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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