sEventName | (String) Event name. "onOpen": The event is triggered on opening the PmForm. All initial sizes and positions of all Pmf objects are already evaluated at this moment. |
---|---|
Func | (Function) The event function will be called when the event is triggered. ev: It has no properties so far. |
oForm.AddEvent("onEditAccept", function(ev) { Pm.Debug("AddEvent"); });
oForm.AddEvent("onEditAccept", Test);
function Test(ev)
{
//...
}