# showTextToolbar in showFormInDialog

**URL:** <https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699>\
**Category:** Classic Servoy\
**Created:** [February 5, 2008, 10:44am UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699 "2008-02-05T10:44:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.servoy.com/u/Ron)\
**Post date:** [February 5, 2008, 10:44am UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699/1 "2008-02-05T10:44:22Z")

</div>

I have a form shown in a Dialog.  
In my code I selected the TextToolbar TRUE.  
The toolbar shows greyout even when selecting text in a field.  
This is my code:

application.showFormInDialog(forms.Projecten,300,800,500,400,‘List’,false,true,‘mydialog’,false);

Anyone?

Servoy Dev. 3.5.3  
Vista

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [February 5, 2008, 10:50am UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699/2 "2008-02-05T10:50:06Z")

</div>

Does your field have a display type RTF\_AREA or HTML\_AREA ?  
The text toolbar only works with those display types.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Ron](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Ron](https://forum.servoy.com/u/Ron)\
**Post date:** [February 5, 2008, 10:59am UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699/3 "2008-02-05T10:59:32Z")

</div>

You are right (again) thank you Robert.

Regards,  
Ron

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [February 8, 2008, 6:00pm UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699/4 "2008-02-08T18:00:37Z")

</div>

Hello!

I have an issue that the parameters , [y], [width], [height] of the function ‘showFormInDialog()’ doesn’t work correct in Servoy 3.5.3. When I set ‘-1, -1, -1, -1’ the dialog is displayed in the middle of the screen in layoutsize. But when I change the values to ‘300, 200, 450, 250’ I always get the dialog window like before.

Regards  
Thomas

---

<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 8, 2008, 6:42pm UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699/5 "2008-02-08T18:42:40Z")

</div>

HI Thomas,

try to restart your developer or change the window name  
Servoy now is remembering the last position of the window based on his name.

---

<div class="post-metadata">

**Author:** ![tgs](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@tgs](https://forum.servoy.com/u/tgs)\
**Post date:** [February 8, 2008, 9:37pm UTC](https://forum.servoy.com/t/showtexttoolbar-in-showformindialog/8699/6 "2008-02-08T21:37:02Z")

</div>

Thank you Harjo, you are right. It’s ok to know that it works, but not nice for trying and testing the changes in Servoy Dev…

Thomas
