I am changeing to VB 2010 Express from VB5 and I have run into a problem with locking a text box from my program.
Imagime a form with a button and a text box on it. When the button is clicked the text box should be locked to prevent data entry.
In the buttons Click event I tried to enter
Me.TextBox1.Locked = True
But apparently this property is not available at runtime, it's there in TextBox1's property sheet at Design time.
Iguess I must be doing something wrong.