Clearing TextBox Controls in One Sweep
Category:
Forms and ControlsType:
SnippetsDifficulty:
BeginningAuthor:
AnonymousVersion Compatibility: Visual Basic 6
More information:
Getting back to the basics, you can use this sub procedure to clear textbox controls on any form. All you have to do is call the method from any form passing the form name as the method argument. For testing, add a few textbox controls and a command button to your form.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: