# application.showFormInDialog from another dialog

**URL:** <https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136>\
**Category:** Classic Servoy\
**Created:** [February 22, 2007, 6:23pm UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136 "2007-02-22T18:23:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanthomasdevlin](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/seanthomasdevlin/32/5_2.png) [@seanthomasdevlin](https://forum.servoy.com/u/seanthomasdevlin)\
**Post date:** [February 22, 2007, 6:23pm UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136/1 "2007-02-22T18:23:47Z")

</div>

Servoy Developer  
Version 3.1.3-build 407  
Java version 1.5.0\_10-b03 (Windows XP)

I’ve seen posts aout this in the past. Has this been resolved yet?

````auto
application.showFormInDialog
``` does NOT block method execution when called while a dialog is already open.

It is REALLY troublesome.
````

---

<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:** [February 22, 2007, 6:58pm UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136/2 "2007-02-22T18:58:35Z")

</div>

wait for the next version ![:wink:]( "Wink")

---

<div class="post-metadata">

**Author:** ![seanthomasdevlin](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/seanthomasdevlin/32/5_2.png) [@seanthomasdevlin](https://forum.servoy.com/u/seanthomasdevlin)\
**Post date:** [February 22, 2007, 7:09pm UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136/3 "2007-02-22T19:09:39Z")

</div>

Can be worked-around with dialog form’s on-hide and calling form’s on-show handlers. So much for encapsulation though… ![:(]( "Sad")

I’d really like to not have to think of every scenario in which the dialog form will be used.

---

<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:** [February 26, 2007, 9:29am UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136/4 "2007-02-26T09:29:12Z")

</div>

this will be fixed in the next servoy version. For now i am afraid that you can’t really see or test it if it is really dynamic (form can be shown at multiply places in time)  
The only thing i can think of that you use a global variable where you specify if you have are currently showing the dialog.

---

<div class="post-metadata">

**Author:** ![sdevlin](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sdevlin/32/4488_2.png) [@sdevlin](https://forum.servoy.com/u/sdevlin)\
**Post date:** [May 21, 2007, 4:41pm UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136/5 "2007-05-21T16:41:47Z")

</div>

As of Version 3.1.5-build 409, this is still not fixed. ![:cry:]( "Crying or Very sad")  
Any word on when this’ll be ready?

---

<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:** [May 21, 2007, 5:04pm UTC](https://forum.servoy.com/t/application-showformindialog-from-another-dialog/7136/6 "2007-05-21T17:04:38Z")

</div>

By the next version, I meant version 3.5.

There it is fixed!
