Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onButtonDown - event of the PmgButton object

Description:
The event is triggered after pressing the button (by the keyboard or the mouse).
Parameters:
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.

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 invoking the onButtonUp event. Scripts calling other windows must be placed in the script of the onButtonUp event.

See also:
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