1. RichEdit control

How do I use rich text formatting in a RichEdit control? I tried using formatting, but it's just showing raw text instead. Is there something i need to do to enable formatting first?

new topic     » topic index » view message » categorize

2. Re: RichEdit control

Heh, maybe i should have looked a little bet deeper in the win32lib documentation before i posted this! I guess my brain doesn't work too well when i stay up till 5am...

I will answer my own question:

putStream ( integer id, integer flag, sequence text )

Load text into a RichEdit control from a text sequence.

Use flag StreamText to indicate that contains plain text, or StreamRTF to indicate that text contains rich text. This can be combined with StreamSelection so that only any selected text in the control is replaced with text data.

Hey, it works just like the documentation says it does! Maybe i should get some sleep...

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu