Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onAppStopBegin - event of object PmRoot

Description:
The event fires after the command for halting the application.
Parameters:
pMe(Object) Reference to the PROMOTIC object where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.
pEvent.Error - (Long) If the value of the parameter is 0, then the application is stopped by the user (designer) command - i.e. by calling the method Pm.AppStop or Pm.AppQuit. Otherwise (the value is no-zero), the application is stopped from the failure cause of some component (e.g. ActiveX element, etc.).
Note:
After the event PROMOTIC objects are deleted sequentially (onStop events of the objects are fired) and finally the onAppStopEnd event fires.
 
Application termination can be disabled by PmRoot > Permissions > AppStop.
PROMOTIC 8.3.21 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