Promotic

onOpen - event of the PmForm object

Description:
The event is triggered on opening of the PmForm object, i.e. when the form appears graphically in the window.
Parameters:
ev(Object) Reference to an object that describes information about the event
Parameters:
Form(Object) The PmForm object.
Note:
This event is is functional only in JavaScript language.
 
If the PmForm object is created by in the PmgForm object, then the onOpen event is triggered only after all events onFormLoad of all PmgForm objects in the PmaPanel object have been called.
See also:
- PmForm.onClose (event)
Example:
The function is registered into the onOpen event.
JavaScriptSelect and copy to clipboard

var oForm = pMe.Form;
oForm.AddEvent("onOpen", "sFuncId", onTest);

function onTest(ev)
{
Pm.Debug("onOpen");
}

History:
Pm9.00.07: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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