I want to set background color to textbox....when it has value in

I want to set background color to textbox....when it has value in

am 01.04.2008 08:47:19 von Chetana

Hi All,

I am using one dll which will display color dialog box and when user
selects value from that box that colors code is displayed in my
textbox i want to give that color to that textbox as soon as colorcode
is in the textbox....which event i need to call and how?

If anyone has any idea reply me immidiately...

Thanks,
Chetana.

Re: I want to set background color to textbox....when it has value in it...

am 01.04.2008 12:07:55 von David Griffiths

Just after
textbox1.text = ColorCode

apply the color with

TextBox1.BackColor = ColorCode

--
DaveG

"Chetana" wrote in message
news:b7128f5f-e721-42ff-b5b7-a603077727d2@u10g2000prn.google groups.com...
> Hi All,
>
> I am using one dll which will display color dialog box and when user
> selects value from that box that colors code is displayed in my
> textbox i want to give that color to that textbox as soon as colorcode
> is in the textbox....which event i need to call and how?
>
> If anyone has any idea reply me immidiately...
>
> Thanks,
> Chetana.