formInDialog out of an Dialog does work unexpected

Hi

I have an formInDialog, this formInDialog should open an second formInDialog and in this formInDialog I want to add something and onClose I want to go back to the first formInDialog and do the work there. Now the problem is that the first formInDialog is hidden when the second formInDialog is opened from a method in the first formInDialog and if the first formInDialog is hidden it will execute the onHide method and I don’t want that.

The first formInDialog has to be modal! I tried with a second nonmodal fromInDialog, i tried with formInWindow, but nothing worked! What have I to do to get the first formInDialog stay while the second formInDialog is opened?

Regards, Stef

Hi Stef,

If you give the FID a name (see params in showFormInDialog) then the dialog will stay open when another FID is opened (not with the same name of course).
In short, (uniquely) name the FID object and you will be fine.

Hope this helps.

Yes this was the Problem! Thanks for the help it saved me much time!

Regards, Stef