onClose - event of the PmForm object
The event is triggered on closing of the PmForm object.
|ev||(Object) Reference to an object that describes information about the event
|Form||(Object) The PmForm object.|
|CloseReason||(String) Window closing type identifier.
ok - The window has been closed as requested.
The function is registered into the onClose event.
var oForm = pMe.Form;
oForm.AddEvent("onClose", "sFuncId", onTest);
if (ev.CloseReason == "ok")