|
|
|
| Title | Enable or disable all of the controls inside a Frame |
| Keywords | frame, enable, disable, controls |
| Categories | Controls |
|
|
|
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
|
| |
|
| |
|
|