Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Textbox.Forecolor on just ONE line of text in the box. 1

Status
Not open for further replies.

ChxNDmail

Programmer
Dec 15, 2001
14
US
Hi Folks,

Can anybody give me a hint on how to change the color
of one line of text in a textbox (vs ALL of them) ?
Thanks in advance.

LDP
 
Only by using:
API calls to do an owner-drawn list (search for this as it is a common request)
or
grab an OCX to do the job. (I use CLRCOMBO.OCX in my app)

 

Much easier with a RichTextBox control. Check out the Sel properties.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top