I have a form, and I only want the user to be able to change the controls if
they click an Edit button.
I want the user to able copy the data from my controls, even without
clicking edit, so I want to leave the controls enabled.
I planned on putting "R" in the tags of the controls I want to be real
only, and coding like this:
Dim x As Control
For Each x In Me.Controls
If x.Tag = "R" Then
x.ReadOnly = True
End If
Next
So, when the form loads, I set my textboxes Readonly property to True.
However, there is no read only property on combo boxes and DateTimePickers.
What should on do in those cases?
Thanks
Vayse