Topic: Checking Controls on Leave
Example:
After selecting the first text box then go to the properties panel and choose Events. There you can find Leave command.
Double click on Leave method, and you get the codes as below:
Now type here the codes as below:
Now execute it.
You can see that program will not allow you to leave empty the first text box.
Переглядів: 148 |