Hi,

I need some commands to fill a variable with styled text.
Some parts must be in bold, some parts in bigger font size, etc

I know there is a command ST SET ATTRIBUTES, but then you first have to append 
the text to the variable with ST SET PLAIN TEXT
Then you have to remind the selection of the appended text and use ST SET 
ATTRIBUTES

I could also set the attributes just by text like :
"<span style=\"font-family:'Roboto';font-size:9pt\">"
But with this I have a problem that the fontsize (for example 12) must be 
converted to 9pt (I don't know how to do that)

So, is there another, better, easier way?

Thanks,

Piotr

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to