Blank and Lock/Unlock Form Input Controls

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Larry Greer

Version Compatibility: Visual Basic 5

More information:
These subroutines allow you to blank out (e.g., set all textboxes text's to "", uncheck all check boxes) or lock all controls on your form. You can edit the function to add or remove some of the controls it operates on, depending on your needs.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: