K
Keith G Hicks
I need to determine if a control has the "Locked" property during code
execution as follows:
Dim ctl as Control
For Each ctl In Me.Controls
if < one of the properties of ctl is "Locked"> Then
' do some things
Next ctl
The above is wrong of course but it explains what I need I think. Any
suggestions? I'm hoping it won't involve enumerating all the properties of
the control.
Thanks,
Keith
execution as follows:
Dim ctl as Control
For Each ctl In Me.Controls
if < one of the properties of ctl is "Locked"> Then
' do some things
Next ctl
The above is wrong of course but it explains what I need I think. Any
suggestions? I'm hoping it won't involve enumerating all the properties of
the control.
Thanks,
Keith