onClose - event of the PmForm object
Description:
The event is triggered on closing of the PmForm object.
Parameters:
ev | (Object) Reference to an object that describes information about the event
Parameters:
Form | (Object) The PmForm object. |
CloseReason | (String) Window closing type identifier.
ok - The window has been closed as requested. |
---|
|
---|
Note:
This event is is functional only in
JavaScript language.
Example:
The function is registered into the onClose event.
JavaScriptSelect and copy to clipboard
var oForm = pMe.Form;
oForm.AddEvent("onClose", "sFuncId", onTest);
function onTest(ev)
{
if (ev.CloseReason == "ok")
{
Pm.Debug("onClose");
}
}