Visual Basic Online Course Clear All TextBox controls

Visual Basic Online Course

vb6 clear all textbox Text controls on a form
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" .

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

VB6 Popular Posts

Visual Basic Online Course - Excel 2003 Part 1

VB 6.0 Crystal Report With MS-Access 2003 - PassWord Problem

Visual Basic Online Course - Analog Clock in VB6