Hi there...
I have a form with lots of textboxes and i have to set readonly, all of them, true and false many times.
How can i make a Sub to do that? ...like this one to clear them.
Public Sub limpaTXT(ByVal nomeForm As System.Object)
Dim MeuControl As Control
For Each MeuControl In nomeForm.Controls
If TypeOf MeuControl Is TextBox Then
MeuControl.Text = ""
End If
Next MeuControl
End Sub
TKS
[email protected]