ev | (Object) Reference to an object that describes information about the event |
---|
var oForm = pMe.Form;
function onStringChangeFocus(ev)
{
Pm.Debug("onFocus, Type=" + ev.Type);
}
var oString = oForm.CreateItem("string", "id_Str1", "String 1", "");
oString.Value = oForm .ClientType ? "PM Runtime" : "PM Develop";
oString.AddEvent("onFocus", "id_Str1", onStringChangeFocus);