ev | (Object) Reference to an object that describes information about the event |
---|
function onNumberChange(ev)
{
Pm.Debug("OldValue=" + ev.OldValue);
}
var oForm = pMe.Form;
var oNumber = oForm.CreateItem("string", "id_Str1", "String 1", "");
oNumber.Value = 123;
oNumber.AddEvent("onEditAccept", "id_Str1", onNumberChange);