Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Best way to disable text boxes?
New Posts  All Forums:Forum Nav:

Best way to disable text boxes?

post #1 of 4
Thread Starter 
Visual studio 2010, c# 4.0, windows phone 7 application
I need to display some text on screen, as well as update it later on. I need to use a text box because it allows me to use borders and backgrounds - unless someone has a better idea.

What is the best way to deny user input / selection / anything of the text box without affecting the way it looks? I want it to behave similar to a text block. I tried the read only setting, but that just greys it out
Edited by SnowDrifter - 8/1/11 at 5:10pm
post #2 of 4
Thread Starter 
Or should I just use the text block, but put another control behind it that will display what I need?
post #3 of 4
Your second idea is better.
post #4 of 4
What about Label instead of a textbox. I think if you mess with some of the properties you can make it look like a textbox (3d border, white background, etc.)
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Best way to disable text boxes?