Ending on a specific Form

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Ending on a specific Form

Postby Harjo » Sun Jul 27, 2003 1:51 pm

Let's say I have the form: start.
On the form: start I have a button with method:
applicationFormInDialog(forms.form2,-1,-1,200,500);

This opens form2 in a Dialog. So far so good.
On this form I have a button with method:
forms.form3.controller.show();
application.closeFormDialog();


As far as I can tell, the solution must go the form3 and closes the Dialog.
It does close the dialog, but form3 blinks for 1 second and than goes back to form: start. Somehow a method returns automaticly back to the form where it is started. Is this a bug, or am I doing something wrong?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby maarten » Sun Jul 27, 2003 9:13 pm

try closing your dialog first before going to another form:

application.closeFormDialog();
forms.form3.controller.show();
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Postby Harjo » Mon Jul 28, 2003 9:17 am

Yes! that did the trick!
Thanks.
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 3 guests