Enable or Disable All Controls on All Frames
Version Compatibility: Visual Basic 6
This code reads through the control collection of the current form looking for frames. When it finds a frame, it checks to see if it is enabled or disabled, and then enables or disables all controls that are contained in that frame.
This code can be changed to work for picture boxes instead or or in addition to frames.
Instructions: Copy the declarations and code below and paste directly into your VB project.