Promotic

onPanelStartEnd - event of the PmgRoot object

Description:
The event is triggered at the end of the panel opening sequence, after the onStart event is triggered for all Pmg objects. This is the last called event related to panel opening.
Parameters:
pMe(Object) Reference to the PmgRoot object where the event rises.
pEvent(Object) Reference to the 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:
In this event it is possible to make last check (modification) of Pmg objects, or to make collective initialization by values (e.g. from Arguments if opened by the Pm.CreateView method).

This event is also functional in Web panels.
Example:
The example of the event content.
JavaScriptVBScriptSelect and copy to clipboard

var arg = pMe.Arguments;
pMe.Items("/text0").Value = arg.GetItem(0);
pMe.Items("/text1").Value = arg.GetItem(1);

History:
Pm8.03.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.