Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Fixed characters in the TextBox?

Hi Guys,

I am just wondering is it possible to create a TextBox that does not allow user to change the text in the TextBox.

For example, I would like to update the system's status during runtime, and hence the text in the TextBox will change according to the events. However, I realised that the text is changeable by the user during runtime, which I DO NOT want that to occur.

Hence, can someone help me with this please. Notice there is no option for a fixed characters for text in the TextBox.

Thanks for you help guys......
[571 byte] By [ootnitsuj] at [2007-11-11 8:01:28]
# 1 Re: Fixed characters in the TextBox?
You can use a Label instead of a TextBox. Or, if you want the user to be able to select and copy the text, set the TextBox's Locked property to True.
Phil Weber at 2007-11-11 17:26:11 >