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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you disable a textbox without greying it out? 1

Status
Not open for further replies.

ietprofessional

Programmer
Apr 1, 2004
267
US
Can you disable a textbox without greying it out?

I have a dropdownlist that a user can select and the other textboxes are filled by what item is selected. I don't want them to even try to type into the textboxes so I wanted to disable them (enable=false) but I don't want to grey them out.

THANKS!
 
You could just set the ReadOnly property to True as opposed to using the Enabled property...

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top