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