Promotic
Login logon

onOpen - event of the PmForm object

Description:
The event is triggered when opening 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:
Script for example in the onFormLoad event of the PmgForm object:
JavaScriptSelect and copy to clipboard

var oForm = pMe.Form;

// The function is registered into the onOpen event.
function onFormOpen(ev)
{
Pm.Debug("onOpen");
}
oForm.AddEvent("onOpen", "Id_Open", onFormOpen);

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

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