Home Forums General XMetaL Discussion XFT Cancel Reply To: XFT Cancel

Derek Read

Reply to: XFT Cancel

If 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.

Reply

Products
Downloads
Support