applicationShowFormInDialog

Hi.
With the old sentence applicationShowFormInDialog, I can close the window with “ESCAPE” key.
How can I make this with the new sentence application.createWindow??

Thanks

Hi Juan

Not sure if you have found solution to your problem yet.
Following is the code snippet from wiki and it is working fine for me. I can able to close a modal dialog with “ESCAPE” key.

var myWindow = application.createWindow("myName", JSWindow.MODAL_DIALOG);
myWindow.show(forms.myForm);

Hope this helps.

Regards
Lopamudra
http://www.mindfiresolutions.com

It’s works fine

Perfect.

Many Thanks