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.
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);