onButtonDown - event of object PmiButton

The event fires on pressing the button (by the keyboard or the mouse).
pMe(Object) Reference to the graphic item where the event rises.
pEvent(Object) A referrence 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 will be called only if the Control enabled configurator is checked.
This event is also functional for 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 8.3.30 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