text toolbar in servoy client

In my onOpenSolution methode I set the toolbar to false by

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?

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

are you seeing this also in a REAL client?

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 ?

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.

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…

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

Hi Harry,

Are these fields set to TEXT_AREA or HTML_AREA display types ? The toolbar doesn’t work on other display types.

tgs:
what is FID?

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

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 :-(

Cheers
Harry

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

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 from Patrick Talbot. Give you more formatting options (and more control on what options to offer).

Hope this helps.

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