Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Changing the back color of a text box


Message #1 by delcyan@w... on Thu, 7 Nov 2002 15:31:19
Akash,

Thank you very much for your response. I found it out by playing with the 
import key word from help.

Thank you

Anthony


>>> akashb@v... 11/07/02 11:52 >>>
Here you are

TextBox1.BackColor =3D New System.Drawing.Color().Aquamarine

you can use the various options of the color class to create your own 
colors


Happy coloring

Akash

-----Original Message-----
From: bounce-aspx_professional-1184710@p...
[mailto:bounce-aspx_professional-1184710@p...]On Behalf Of
delcyan@w...
Sent: Thursday, November 07, 2002 3:31 PM
To: ASPX_Professional
Subject: [aspx_professional] Changing the back color of a text box


Hello,

I am trying to change the back color of a text box in the code and it does
not seems to be as easy as I thought.

This is what I have tried and not result.

txtVoiceMail.BackColor =3D Gainsboro
or
txtVoiceMail.BackColor.Gainsboro()

Could someone please provide the right syntax.

Thank you

Anthony


to unsubscribe send a blank email to leave-aspx_professional-1631412K@p...
rox.com.


  Return to Index