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

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.
Chetana [ Di, 01 April 2008 08:47 ] [ ID #1932481 ]

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

Just after
textbox1.text = ColorCode

apply the color with

TextBox1.BackColor = ColorCode

--
DaveG

"Chetana" <chetanasystems [at] eth.net> wrote in message
news:b7128f5f-e721-42ff-b5b7-a603077727d2 [at] 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.
David Griffiths [ Di, 01 April 2008 12:07 ] [ ID #1932488 ]
Microsoft » microsoft.public.dotnet.general » I want to set background color to textbox....when it has value in

Vorheriges Thema: XP and SP2
Nächstes Thema: Re: LINQ - Speed penalty/anonymous types