Home › Forums › General XMetaL Discussion › doModal in xft forms › Reply To: doModal in xft forms
Reply to: doModal in xft forms
March 19, 2010 at 1:38 pmOk, that's working much better. I was fooled because I'd put one dlg.DoModal in an if and a second in an else if. The second one is always -1:
[code]
Application.Alert(dlg.DoModal);// This is 1 or 2 depending on whether you did OK or Cancel
Application.Alert(dlg.DoModal);// This is always -1
[/code]
Thanks,
David