TextArea to RTF ?

BlitzMax Forums/BlitzMax GUI Programming/TextArea to RTF ?

Is there any way of getting the formatted text from a textarea gadget?

Not sure what you mean by 'formatted' but textareatext gets the contents of a textarea gadget.

I meant retrieve the text in RTF format including it's bold, italic and colour information etc. As far as I can make out, TextAreaText() just returns plain text.

It's okay, I managed to hack together something using some clipboard shenanigans. Not exactly pretty but good enough for my needs.

Just need to knock up a rudimentary RTF->HTML converter now. ;o)


Thanks anyway.

Btw:
Is it possible to read a rtf file into a textarea gadget?
So the exact opposite.