Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
 
 
 
 
 
 
 
Old Pages
 
Old Index
Site Map
What's New
 
Books
How To
Tips & Tricks
Tutorials
Stories
Performance
Essays
Links
Q & A
New in VB6
Free Stuff
Pictures
 
 
 
TitleEnable or disable all of the controls inside a Frame
Keywordsframe, enable, disable, controls
CategoriesControls
 
Loop through the Controls collection looking for controls with the frame as their container.
 
Private Sub SetFrameEnabled(cont As Control, new_enabled As _
    Boolean)
Dim ctl As Control

    For Each ctl In Controls
        If ctl.Container Is cont Then ctl.Enabled = _
            new_enabled
    Next ctl
End Sub
 
 
Copyright © 1997-2003 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated