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

Disabled multi-line text box that's scrollable... possbile?

Status
Not open for further replies.

gundie

Programmer
Feb 5, 2004
69
0
0
US
Is it possible to make a multi-line text box still scrollable while it's disabled?

The closest I can achieve this is to set the text box's ReadOnly property to false, which will gray out the text box, and still scrollable, but the text in the box remains black instead of being gray. Changing the forecolor of the text box does not have any effect. The color of the text changes back to black when I set ReadOnly to true.

I want to be able to mimic the disabled text box visually. Thanks for the help!
 
1) Not with the default textbox.
2) You change the Font color not the foreground color.
3) Why do you want to mimic it begin disable and not disable it?

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top