Visual Basic Online Course Clear All TextBox controls
Visual Basic Online Course
vb6 clear all textbox Text controls on a form |
TextBoxes
are just like any other Objects on a form, could be cleared or we can say "Make it empty" .
are just like any other Objects on a form, could be cleared or we can say "Make it empty" .
So if we have :
Textbox1 and Textbox2 and Textbox3 on a vb6 form and we have a button called "CmdNew" and its function is to clear all the writings in all of the 3 TextBoxes .... we can do something like that :-
Or .........
Now ........
What if we have ComboBoxes too ?
Or .........
What if we have various objects that we wanna set thier values to anything .... ??
- if you understood the previous example i think you already knew the answer ....
Good Luck
Visual Basic 6.0 Lessons, Tricks, Tutorials and help links :