Home Forums General XMetaL Discussion doModal in xft forms Reply To: doModal in xft forms

dcramer

Reply to: doModal in xft forms

Ok, 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

Reply

Products
Downloads
Support