Promotic

onClose - event of the PmForm object

Description:
The event is triggered on closing of the PmForm object.
Parameters:
ev.Form(String) The PmForm object.
ev.CloseReason(String) Window closing type identifier.
Note:
This event is is functional only in JavaScript language.
See also:
- PmForm.onOpen (event)
Example:
The function is registered into the onClose event.
JavaScriptSelect and copy to clipboard

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

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

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

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