Home › Forums › General XMetaL Discussion › XFT Cancel › Reply To: XFT Cancel
Reply to: XFT Cancel
September 21, 2015 at 7:39 pmIf the XFT is launched using DoModal() the return value should be 2 in your case.
Try running this example code:
[code]//XMetaL Script Language JScript:
var dlg = Application.CreateFormDlg(Application.Path + “\Forms\ULink.xft”);
var returnVal = dlg.DoModal();
Application.Alert(returnVal);
dlg=null;
[/code]
Launching your form using similar code will allow you to check the various return values it might pass back.