Multiple Modal Dialogs executing in the wrong order

Questions and answers for designing and implementing forms in Servoy

Multiple Modal Dialogs executing in the wrong order

Postby philzeh » Tue Feb 04, 2014 8:17 am

Hi, I have multiple forms (lets say, 3) that each call a modal dialog (since they are windows, these dialogs do not block the other windows from executing, but block the form they reside in)

When the modal dialogs are called in a certain order, but closed/executed in a different order from the reverse of opening, the actions will not be executed in the order of closing, as desired.

For example, if the forms are A B and C, and the opening order is A B C, then closed in A B C, then the executing order will be C B A, regardless of the closing order, due to the blocking mechanism of modal dialogs.

Is there any way to force the code to execute the code of the closed dialog immediately, so ABC closed in ABC will still execute ABC, instead of CBA?
philzeh
 
Posts: 7
Joined: Mon Nov 25, 2013 6:02 am

Re: Multiple Modal Dialogs executing in the wrong order

Postby derk.hulshof » Tue Feb 04, 2014 2:17 pm

hi philzeh,
Is this in the webclient or smartclient?
And can you put in some code you are using?
tnx
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands


Return to Forms

Who is online

Users browsing this forum: No registered users and 11 guests