|
-
February 25th, 2000, 12:25 PM
#1
Backcolor
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
-
February 25th, 2000, 01:00 PM
#2
Re: Backcolor
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
John Pirkey
MCSD (VB6)
http://www.stlvbug.org
-
February 25th, 2000, 01:38 PM
#3
Re: Backcolor
I know , but that changes the FOREcolor of the selected text.
I wanna change the BACKcolor
Thanx anyway
-
February 25th, 2000, 04:37 PM
#4
Re: Backcolor
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
-
February 25th, 2000, 07:39 PM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|