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

How do prevent unenabled objects from having grayed out text?

Status
Not open for further replies.

marle35

Programmer
Jul 17, 2007
36
How do you keep the text black when the object, like a textbox, is not enabled?
 
Instead of setting the Enabled property to False you may consider Locked=True and TabStop=False.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Must you use the Enabled property? Would Locked serve?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top