# bug: OpenFormInDialog

**URL:** <https://forum.servoy.com/t/bug-openformindialog/378>\
**Category:** Classic Servoy\
**Created:** [October 1, 2003, 2:20pm UTC](https://forum.servoy.com/t/bug-openformindialog/378 "2003-10-01T14:20:22Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [October 1, 2003, 2:20pm UTC](https://forum.servoy.com/t/bug-openformindialog/378/1 "2003-10-01T14:20:22Z")

</div>

If you use:

> application.showFormInDialog(forms.relaties\_zoeken,-1,-1,200,500,‘Zoek Relatie’);

and you use -1(center) for the x and y , than the widht and height values are not working anymore!

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [October 1, 2003, 2:53pm UTC](https://forum.servoy.com/t/bug-openformindialog/378/2 "2003-10-01T14:53:45Z")

</div>

bug confirmed. You explicitely have to enter xy position in order to make xy size work. Will pass to dev team.

Thanks.

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [October 2, 2003, 10:14pm UTC](https://forum.servoy.com/t/bug-openformindialog/378/3 "2003-10-02T22:14:02Z")

</div>

fixed in 1.2 rc5
