# text toolbar in servoy client

**URL:** <https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712>\
**Category:** Classic Servoy\
**Created:** [February 4, 2010, 1:13pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712 "2010-02-04T13:13:53Z")\
**Posts on this page:** 12\
**Page:** 1

<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 4, 2010, 1:13pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/1 "2010-02-04T13:13:53Z")

</div>

In my onOpenSolution methode I set the toolbar to false by

```auto
application.setToolbarVisible('text', false);
application.setToolbarVisible('edit', false);

```

But once it works and next not! This is really annoying! For example:  
I log in to my solution. The text toolbar is off. Then I change to an other form and the text toolbar gets on??? There ist no “setToolbarVisible” function in onShow, onLoad or any other methode. Only on some forms with text\_area dataproviders I have a button for make the text toolbar visible or not. Customers would like to format text.  
How can I fix that issue?

---

<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 4, 2010, 1:18pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/2 "2010-02-04T13:18:11Z")

</div>

I have seen weird things in debug client also relating to setToolbar visible.

are you seeing this also in a REAL client?

---

<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 4, 2010, 1:19pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/3 "2010-02-04T13:19:37Z")

</div>

Hi Thomas,

When you switch to another form do you show this form in a FID ? If zo do you have the texttoolbar parameter in the showFormInDialog() call set to true ?

---

<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 4, 2010, 1:31pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/4 "2010-02-04T13:31:10Z")

</div>

> Harjo:  
> I have seen weird things in debug client also relating to setToolbar visible.
> 
> are you seeing this also in a REAL client?

Hi Harjo,

yes of course. The text toolbar is also visible or not opening a form without a setToolbar function on my customers clients.  
If it would be only in the developer client, shit happens. But on deployed solutions it isn’t be nice.

---

<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 4, 2010, 1:39pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/5 "2010-02-04T13:39:00Z")

</div>

> ROCLASI:  
> Hi Thomas,
> 
> When you switch to another form do you show this form in a FID ? If zo do you have the texttoolbar parameter in the showFormInDialog() call set to true ?

Hi Robert,

what is FID? But no, I don’t mean forms in dialog. And it is annoying too that setToolbarVisible is not working on form in dialog. Who is happy with displaying the text toolbar or not only by the showFornInDialog() parameter? I have posted a feature request a long time before…

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [November 30, 2010, 2:41pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/6 "2010-11-30T14:41:01Z")

</div>

Version: 4.1.7 - build 690  
OS X 10.6.5

I also now have a client who wants to italicise or bolden small blocks of text in text fields and I cannot seem to get the text format bar to activate

The spellcheck option is available but not the other formatting options

Any ideas please

Cheers  
Harry

---

<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:** [November 30, 2010, 2:45pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/7 "2010-11-30T14:45:41Z")

</div>

Hi Harry,

Are these fields set to TEXT\_AREA or HTML\_AREA display types ? The toolbar doesn’t work on other display types.

---

<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:** [November 30, 2010, 2:47pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/8 "2010-11-30T14:47:22Z")

</div>

> tgs:  
> what is FID?

I guess better a late reply than never. FID means Form In Dialog.

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [November 30, 2010, 2:52pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/9 "2010-11-30T14:52:21Z")

</div>

Hi Robert

I have tried both text\_field and text\_area types

The fields mostly are placed in nested tabs but I assumed that clicking into the field and highlighting a selection would activate the text format options

But they do not ![:-(]( "Sad")

Cheers  
Harry

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [December 3, 2010, 4:48pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/10 "2010-12-03T16:48:19Z")

</div>

Version: 4.1.7 - build 690  
OS X 10.6.5

Hi all

Can I please ‘bump’ this thread

I simply cannot get the text toolbar to become active in the above version

Formatting a field as a text\_area does not work - only if the field is ‘rtf’ or ‘html’ do I get the toolbar to activate

Are these my options here in changing to one of these field types ?

If so are there any ‘gotchas’ that I need to be aware of with regard to data input / edit / printing ?

Cheers  
Harry

---

<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:** [December 3, 2010, 8:01pm UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/11 "2010-12-03T20:01:22Z")

</div>

Hi Harry,

I am sorry I was not completely correct.The toolbar only works on RTF and HTML. The text\_area is for plain text and thus no support for formatting.  
So to answer your question, yes these are your options.  
But if you want a more advanced editor you could use the HTML editor that ships with [the browser suite](https://www.servoyforge.net/projects/browsersuite) from Patrick Talbot. Give you more formatting options (and more control on what options to offer).

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Harry\_Catharell](https://avatars.discourse-cdn.com/v4/letter/h/e19adc/32.png) [@Harry\_Catharell](https://forum.servoy.com/u/Harry_Catharell)\
**Post date:** [December 8, 2010, 9:50am UTC](https://forum.servoy.com/t/text-toolbar-in-servoy-client/11712/12 "2010-12-08T09:50:34Z")

</div>

Hi Robert

Thanks for clearing that up

I have come to terms with using either rtf or html but wonder if there are any gotchas in using these types either in display or which may affect printing ?

Cheers  
Harry
