Richard wrote :

>I've tried using graphics for things like that.  Seems like fun at
>first, until you need to wrap across different lines. Then you need to
>handle different textHeights.  Then you pull out all your hair. ;)

>One of the cool things about htmlText is that it's designed as the one
>way to have complete fidelity for reproducing a field's contents, style
>runs and all.

>So conceivably you could add in tags for backgroundcolor of the text
>runs you want visually distinct. It can take a bit of clever parsing to
>get it right, but check out the optional third param for the offset
>function in the dictionary - it's a godsend for parsing tasks like this.

>To see the format of htmlText, style some text in a field how you want
>it and run "put the htmlText of fld 1" in the Message Box.  Everything
>you can do with a field can be represented in htmlText, so conversely
>you can do anything to htmlText that you can do to a field.

Thanks Richard, you're right. I had come across it last night when I was trying it with a graphic. I will dive into the html and use it's tags for changing the backColor. Great!

best,
Beat Cornaz


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to