I'm curious how to lock out a button, the .net program makes locking it out simple enough, but i'm not sure how to make it unlock after certain text boxes have been filled ("changed" in coding). Any help would be appreciated. and one other thing, arithmetically, is there any value that means "not equal to", in which case i could do an if else thing, by saying "if text box [not equal to] "" it could check to make sure something was entered and then unlock it, but i don't know of a sign that signifies that either. thanks
Comments
:
While your looking at the form in the IDE double click on the control and the IDE will generate a on_changed event sub routine and take your cursor there. Here is where you can check for the change or validation of data.
Also, not equal to is the same as <>.
e.g. if your button was called btnPrint, and some event occurred to change it, you would enter btnPrint.Enabled = False
Second, "not equal to" i believe is denoted by <>