Hello,
There is a bug when you open a form in a dialog from a form that’s in a dialog.
To simmulate:
- Create three forms, One, Two and Three.
add one methods to form One
openTwo:
forms.Two.show();
add methods to form Two
show:
application.showFormInDialog( this, -1, -1, 640, 480, "Two", true, false, false )
plugins.dialogs.showInfoDialog( "Two", "closed!", "ok" )
close:
application.closeFormDialog( false )
openThree:
forms.Three.show();
add methods to form Three
show:
application.showFormInDialog( this, -1, -1, 640, 480, "Three", true, false, false )
plugins.dialogs.showInfoDialog( "Three", "closed!", "ok" )
close:
application.closeFormDialog( false )
When you open Two from one, on the close method the messagebox “closed!” is displayed (code execution does wait for formdialog). When you open Three from Two, the messagebox" closed!" is displayed imimmedialtly (code execution does NOT wait for formdialog).
It would be very nice if it could be solved quickly…
Anton Dorrestijn