Does anybody know how to change the color af the selected text in a RTFbox ,
not the backcolor of the whole textbox, just the selected text ?
Something like in Word you can use a marker.
Thank you
Printable View
Does anybody know how to change the color af the selected text in a RTFbox ,
not the backcolor of the whole textbox, just the selected text ?
Something like in Word you can use a marker.
Thank you
I think there is a SelColor property of the RTB. I've never used it, but I think i remeber seeing it in the object browser.
HTH,
John
John Pirkey
MCSD
www.ShallowWaterSystems.com
I know , but that changes the FOREcolor of the selected text.
I wanna change the BACKcolor
Thanx anyway
You can't do this with the RTF control that microsoft provide with VB - you can however, download a free RTF control (based on RichEdit2.0) from http://vbaccelerator.com - this supports all the standard RTF stuff like tables, background bitmaps, hyperlinks etc. It also comes with all the source code.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
thanx