Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onFocusIn - event of the PmgObject object

Description:
The event is triggered if the object receives focus. The event can be used, for example, for displaying auxiliary information if the user moves over the appropriate object by the keyboard or the mouse.
Parameters:
pMe(Object) Reference to the PmgObject 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.
- This event is not functional for object: PmgRoot, PmgActiveX.
 
The onFocusIn and onFocusOut events are suitable for calling some action when focus is obtained or lost. For visual changes of the Pmg object triggered by focus change the onModeChange event is more suitable. This event provides more complex information regarding Pmg object status.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

pMe.BorderWidth = 3;
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