Issues using RTF fields

Hi all,

I have a an RTF field on a form for data entry. I have access to the little rtf toolbar in the smart client, and I can set font, bolding, underlining, centering, etc. But, when I click on the “A” for setting colors, I get the color picker dialog, but the text that has been entered disappears from the field. I can start typing again and the new color is there, but I’m wondering what’s happening to the previously entered data.

I’ve also found that once this happens, the field seems to have lost track of its settings. For example…
I open the form. The rtf toolbar is greyed out.
I click in the rtf field and the toobar is enabled.
I type some text. I set bolding and centering. Both buttons are highlighted on the toolbar. Normal behavior so far.
I click on the “A” in the rtf toolbar to set color. The color picker opens.
I select a color and click ok.
The color picker closes. The text is gone, the bolding button is not highlighted, and the centering button is highlighted.
I type some text. It is not centered even tho the centering button is highlighted. It is typing in bold even tho the bolding button is not highlighted.
I click on the bolding button to highlight it. I type some text, and it is not bolded, even tho the bolding button indicates that it should be.

I found a previous post on something similar from 2011, and there was a comment that that particular problem was fixed in servoy 5.2.9. I’m running servoy 6. I’m not sure if that earlier problem is related to this or not. Or if I’m just not using the field correctly somehow.

Any thoughts on what I might be doing wrong here? There’s no code behind the field. I just created the field on the form as an RTF-AREA, saved it, and started up the Smart Client in developer.

As always, thanks for any guidance you can provide.

Have a good day.

Ron

Good day,

Down in the “Possible Issues and Bugs” section, I posted some further information as well as a sample solution that demonstrates the problem.

Ron