How to change color of text in textbox?

Reply

Join Date: Jan 2008
Posts: 12
Reputation: octavia is an unknown quantity at this point 
Solved Threads: 0
octavia octavia is offline Offline
Newbie Poster

How to change color of text in textbox?

 
0
  #1
Oct 2nd, 2008
Hi all,

As i'm new to VB 6.0, anyone could help me to find out this issue?
how to change the color of text which is in textbox?

thanks in advance

Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 509
Reputation: selvaganapathy is an unknown quantity at this point 
Solved Threads: 88
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro

Re: How to change color of text in textbox?

 
0
  #2
Oct 2nd, 2008
Hi, In property window

> Change the ForeColor property of the Text box.

Or by code
Text1.ForeColor = RGB (255, 255, 0)
Last edited by selvaganapathy; Oct 2nd, 2008 at 1:40 am.
KSG
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 12
Reputation: octavia is an unknown quantity at this point 
Solved Threads: 0
octavia octavia is offline Offline
Newbie Poster

Re: How to change color of text in textbox?

 
0
  #3
Oct 2nd, 2008
Hee hee

I got it
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,094
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 128
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: How to change color of text in textbox?

 
0
  #4
Oct 2nd, 2008
you can also change that ar eruntime by using color dialogbox of commondialog control.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC