View Single Post
  #1 (permalink)  
Old January 16th, 2004, 11:02 AM
jaucourt jaucourt is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default Disabling VB.Net controls

My eight millionth post so for (writing my first vb.net application!)...

I am disabling some edit controls until the user actually explicitly chooses to edit a particular record. I've set the enabled property of the relevant text boxes to false, however this makes values somewhat difficult to read. I can trap the enter event for the text boxes, however I'm not sure how to cancel the attempt to edit. Does anyone know how to do this?

Thanks v much to all those who are providing me with such a lot of help!

Reply With Quote