The textox should have a Locked property which is initially set to false, by changing this to true either in the properties window, or at runtime it should prevent any editing of the TexBox contents.
If you don't want the user to be able to select the text either (i.e. to copy it elsewhere) then you should use a Label and format to look like a TextBox (i.e. BackColor = White or Grey & SpecialEffect = Sunken).
If you only want to prohibit the user from inserting or typing text into the TextBox, then follow leighMoore's suggestion, it is easier and invloves less formatting.
Have Fun!
If you can't be "The Best", be the best at what you can!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.