# useRTF

**URL:** <https://forum.servoy.com/t/usertf/10882>\
**Category:** Classic Servoy\
**Created:** [July 7, 2009, 6:39pm UTC](https://forum.servoy.com/t/usertf/10882 "2009-07-07T18:39:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hans\_Nieuwenhuis](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@Hans\_Nieuwenhuis](https://forum.servoy.com/u/Hans_Nieuwenhuis)\
**Post date:** [July 7, 2009, 6:39pm UTC](https://forum.servoy.com/t/usertf/10882/1 "2009-07-07T18:39:50Z")

</div>

Hi,

in the solutionmodel i see a JSField property called useRTF.

What does this do ?  
It is not the displaytype(textarea,rtfarea,htmlarea), that is jsField.displayType

Regards,

Hans

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [July 7, 2009, 6:44pm UTC](https://forum.servoy.com/t/usertf/10882/2 "2009-07-07T18:44:57Z")

</div>

Hi Hans,  
from what I understand you can have a JSField of displayType = SM\_DISPLAYTYPE.TEXT\_FIELD  
and still set its useRTF property to true, this way you get a text field of one line display that you can style.

---

<div class="post-metadata">

**Author:** ![Hans\_Nieuwenhuis](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@Hans\_Nieuwenhuis](https://forum.servoy.com/u/Hans_Nieuwenhuis)\
**Post date:** [July 7, 2009, 7:01pm UTC](https://forum.servoy.com/t/usertf/10882/3 "2009-07-07T19:01:46Z")

</div>

Thanks Patrick,

Will try that.  
This property can not be set designtime.

Do you now if there are samples / is documentation on using the solution model ?

B.t.w. : a BIG compliment for your tutorials on plugins and beans. In the past I have also been writing training materials and I appreciate the amount of work it involves.

Regards,

Hans

---

<div class="post-metadata">

**Author:** ![Hans\_Nieuwenhuis](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@Hans\_Nieuwenhuis](https://forum.servoy.com/u/Hans_Nieuwenhuis)\
**Post date:** [July 7, 2009, 7:46pm UTC](https://forum.servoy.com/t/usertf/10882/4 "2009-07-07T19:46:22Z")

</div>

Hi,

It seems to me that useRTF does not work.

I tried other settings like height, foreground, etc. they al work.

Is this a known issue ??

Regards,

Hans

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [July 7, 2009, 8:38pm UTC](https://forum.servoy.com/t/usertf/10882/5 "2009-07-07T20:38:07Z")

</div>

Didn’t try it actually.  
If it doesn’t work you might need to file a case to the support system.

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [July 14, 2009, 3:02pm UTC](https://forum.servoy.com/t/usertf/10882/6 "2009-07-14T15:02:10Z")

</div>

> Hans Nieuwenhuis:  
> Hi,
> 
> It seems to me that useRTF does not work.
> 
> I tried other settings like height, foreground, etc. they al work.
> 
> Is this a known issue ??
> 
> Regards,
> 
> Hans

useRtf is not a supported functionality for JSField, it doesn’t work. Will remove it .
