Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onButtonDown - event of object PmiButton

Description:
The event fires on pressing the button (of the keyboard or the mouse).
Parameters:
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.

Note:
This event will be called only if the Control enabled configurator is checked.
 
This event is also functional for 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:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice