RTF Color, Bold, Italic, etc

lucasmeloch
09-08-2003, 12:57 PM
How does the .selbold and .selcolor controls of a ritch text box work? If i use


rtf.selbold = true


not on the selected text gets enboldened, the whole lot does!

Jayded
09-08-2003, 01:01 PM
The rtf box absolutely sux for good formatting. For the bold though you place the rtf.bold = true the line before the text and rtf.bold = false after. Same applies to color.

lucasmeloch
09-08-2003, 01:40 PM
Yeah ive solved that problem now, but i have another one. How do i preserve the formatting of the text box.


rtf2.text = rtf1.text


this will make both rtfs plain black, the code .textrtf just gives a lot of formatting code, it doesnt actually format it

Squishy
09-08-2003, 04:58 PM
Did you use TextRTF on both sides? (i.e. rtf2.TextRTF = rtf1.TextRTF)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum