# application.isFormInDialog() problem in 3.5

**URL:** <https://forum.servoy.com/t/application-isformindialog-problem-in-3-5/7822>\
**Category:** Classic Servoy\
**Created:** [July 15, 2007, 4:08pm UTC](https://forum.servoy.com/t/application-isformindialog-problem-in-3-5/7822 "2007-07-15T16:08:42Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [July 15, 2007, 4:08pm UTC](https://forum.servoy.com/t/application-isformindialog-problem-in-3-5/7822/1 "2007-07-15T16:08:42Z")

</div>

Hello,

it seems that in 3.5 application.isFormInDialog() returns true, whenever that form has been shown in a dialog before - even if it is not shown in a dialog if isFormInDialog() is called.

Can this be fixed?

Thanks  
Patrick

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [July 15, 2007, 6:00pm UTC](https://forum.servoy.com/t/application-isformindialog-problem-in-3-5/7822/2 "2007-07-15T18:00:22Z")

</div>

> patrick:  
> Hello,
> 
> it seems that in 3.5 application.isFormInDialog() returns true, whenever that form has been shown in a dialog before - even if it is not shown in a dialog if isFormInDialog() is called.

Maybe related: often when I open two formindialogs one after another, the second one shows the name of the first one. Reloading it makes the right name to appear.

---

<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:** [July 16, 2007, 1:42pm UTC](https://forum.servoy.com/t/application-isformindialog-problem-in-3-5/7822/3 "2007-07-16T13:42:58Z")

</div>

are we talking here about the smart client or webclient?

---

<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:** [July 16, 2007, 1:57pm UTC](https://forum.servoy.com/t/application-isformindialog-problem-in-3-5/7822/4 "2007-07-16T13:57:04Z")

</div>

ok in the smart client the isFormInDialog will only return true if the dialog is really visible for the next release of 3.5
