# Form in dialog stacks

**URL:** <https://forum.servoy.com/t/form-in-dialog-stacks/1947>\
**Category:** Classic Servoy\
**Created:** [May 28, 2004, 3:45pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947 "2004-05-28T15:45:50Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 6, 2004, 2:18pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/21 "2004-09-06T14:18:13Z")

</div>

yes i do get those things.  
But i still find it very strange design. Because i don’t know any program that works this way. And all the html based solutions this is completel out of the question.

From my point of view the main windows should show you all or enough information. and a dialog is only the edit/entry form.

But when i do give you an option that you can show multiple dialogs. Then i think the next question is but i can’t move that one.. (because it is modal.)

If you really show one main and 2-3 dialogs then only the top dialog can be moved. So if you have opend one then another. Then the first can’t be moved.. So even if i give you that option then i think youre customers only find what the get a half fix..

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [September 15, 2004, 10:24am UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/22 "2004-09-15T10:24:38Z")

</div>

I would like to have all the formInDialog stacked & visible. If the first formInDialog is hidden when opening the second formInDialog (from within the first formInDialog) , then it is visually very irritating. I would like first formInDialog (& ofcourse also the underlying main form) visible when the second one is on the top.

Any update on this??

Thanks

---

<div class="post-metadata">

**Author:** ![ebrandt](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@ebrandt](https://forum.servoy.com/u/ebrandt)\
**Post date:** [September 15, 2004, 12:01pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/23 "2004-09-15T12:01:13Z")

</div>

This is a much needed option an has been discussed several times. If a user can be filling out one form, and still access other parts of the solution to get other information they need, and not have to close and validate the form.  
This is very useful in the new FM 7.0

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [September 15, 2004, 7:26pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/24 "2004-09-15T19:26:07Z")

</div>

Hi all!

I’m afraid I have to side on the way things are: one main window. I’ve used tons of IDE’s (Oracle Forms, Access, FileMaker, Crystal Reports, 4D, Omins, RealBasic, etc.) - and every time you have to start doing window management, it becomes a huge nightmare. You never know how many windows the user will spawn, and when they do spawn a new one, you have to keep track of what’s in it, what window is on top, etc. etc.

The overhead is HUGE. With tabless tabpanels, you can show dozens if not hundreds of different forms (content) in multiple places on your form all based on the CONTENT of the master (underlying) form. You can even have tabpanels in tabpanels. My suggestion is: try it with tabless tabpanels and if you find it confusing and hard - just IMAGINE the difficulty you would have if all those things were in separate windows!! I’ve done - I KNOW how hard it is. ![:)]( "Smile")

Just my US $0.02 worth…

Bob Cusick

---

<div class="post-metadata">

**Author:** ![Morley](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Morley](https://forum.servoy.com/u/Morley)\
**Post date:** [January 27, 2005, 3:39pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/25 "2005-01-27T15:39:45Z")

</div>

Is there an update on this issue, a persistent request for FormInDialogues to be stacked on top of each other?

When the user clicks a button within an existing FID I’d prefer the existing FID remain on screen but below the new FID, thus giving the user a sense of context for the new FID. It’s disorienting for some users to have one “window” disappear and another one turn up. By having FIDs stacked gives the user a constant reference of where they’ve come from.

Because of the following comment for a while I was assuming stacked FIDs were possible:

> // completely closes the form dialog including stacked forms  
> application.closeFormDialog(true);

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [January 27, 2005, 4:05pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/26 "2005-01-27T16:05:27Z")

</div>

they are stacked, but only one is visible at a time ![:lol:]( "Laughing")

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 27, 2005, 5:57pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/27 "2005-01-27T17:57:45Z")

</div>

I also would like that the formIndialogs won’t disappear if you open another one!

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [January 27, 2005, 5:59pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/28 "2005-01-27T17:59:51Z")

</div>

Forgot to mention: me too! ![:)]( "Smile")

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 27, 2005, 6:03pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/29 "2005-01-27T18:03:20Z")

</div>

I have asked Johan ones, in an email. Did not get any anwer yet!

Johan, can you shine your light ![:idea:]( "Idea") about this one? is it possible?

---

<div class="post-metadata">

**Author:** ![raymanj](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@raymanj](https://forum.servoy.com/u/raymanj)\
**Post date:** [January 27, 2005, 8:27pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/30 "2005-01-27T20:27:31Z")

</div>

> HJK:  
> I have asked Johan ones, in an email. Did not get any anwer yet!
> 
> Johan, can you shine your light ![:idea:]( "Idea") about this one? is it possible?

This issue with the dialogs really leads to, will Servoy do multiple windows. Dialogs are just windows set to modal or not.

I raised this same question in another thread:

> **[Can Servoy do Multiple Windows](https://forum.servoy.com/viewtopic.php?t=3635)**
>
> I hope this is the right place to post this question. I was wondering if Servoy could show muliple windows at the same time, like FilemMaker 7 does. I am new to servoy and testing out the features to see what servoy can do. Example: Looking at a...

And a feature request:

> **[Be able to display multiple windows.](https://forum.servoy.com/viewtopic.php?t=3661)**
>
> It would be great to be able to display multiple separate windows at the same time. Each window could show the same form or other forms. Here is a link to a topic asking about this feature.

What I got out of this was Servoy will not support this feature in the near future. ![:(]( "Sad")

Also, what I learned from the Servoy developer community , there are two groups of people. The ones that don’t want multi windows and the ones that do. So this feature will not see the light of day without more developer support.

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 27, 2005, 8:34pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/31 "2005-01-27T20:34:55Z")

</div>

No this is NOT what I asked for!

I ONLY ask not to hide the formIndialog when another is opened. That’s it! No more, no less.

I think multiple windows (like FM) becomes a nightmare!

---

<div class="post-metadata">

**Author:** ![raymanj](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@raymanj](https://forum.servoy.com/u/raymanj)\
**Post date:** [January 28, 2005, 3:39am UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/32 "2005-01-28T03:39:30Z")

</div>

> HJK:  
> I ONLY ask not to hide the formIndialog when another is opened. That’s it! No more, no less.

What do you me by “formIndialog” then, if you are not wanting to have one or more dialogs displayed at the same time? If you want something like a web bowser single window, first form user clicks, second form user does something and clicks button, and finally form one reappears, all happening in one window. Then Servoy can do this already.

You don’t need to use the dialog methods. Just create the forms and as the user clicks, the next form will appear and once form 2 is dismissed then return back to form 1. No flickering of a window closing and no new one reopening.

But if you want a form and a dialog to appear, and show another form, in the dialog, then you are in-essence using a multi window design. Even though it is a simple mockup of two or three windows.

I would like to understand what you exactly are wanting.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [January 28, 2005, 3:46am UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/33 "2005-01-28T03:46:56Z")

</div>

I am also asking the same thing what Harjo is asking for.

```auto
I ONLY ask not to hide the formIndialog when another is opened. That's it! No more, no less.

```

---

<div class="post-metadata">

**Author:** ![ebrandt](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@ebrandt](https://forum.servoy.com/u/ebrandt)\
**Post date:** [January 28, 2005, 1:43pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/34 "2005-01-28T13:43:25Z")

</div>

I solved this problem by reopening the prior formindialog when the current form in dialog is closed. Not sure if that helps, but it works pretty well for me.

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [January 28, 2005, 1:44pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/35 "2005-01-28T13:44:53Z")

</div>

that happens automaticly when you open a second formInDialog.

No programming needed.

---

<div class="post-metadata">

**Author:** ![Morley](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Morley](https://forum.servoy.com/u/Morley)\
**Post date:** [January 28, 2005, 2:30pm UTC](https://forum.servoy.com/t/form-in-dialog-stacks/1947/36 "2005-01-28T14:30:31Z")

</div>

Create a FormInDialogue. With a button on that form open a second FID. The first one disappears and the second appears. Put this command in a close button on the second FID:```  
application.closeFormDialog(false);

```The

Until I read this thread I didn't realize there would appear to be a stack of displayed forms on top of each other, each one of which can be closed with this command. To close them all use the "true" parameter.
```

[Previous page](https://forum.servoy.com/t/form-in-dialog-stacks/1947.md?page=1)
