I have this button in a form that's used to go to a new record so that user can fill various textboxes.
These textboxes are by default transparent, so to look non-editable. Therefore I want them to become Normal as the user clicks on that button.
On the _click event I used the following code
but I get a type mismatch error. Any ideas?
These textboxes are by default transparent, so to look non-editable. Therefore I want them to become Normal as the user clicks on that button.
On the _click event I used the following code
Code:
Dim txt As TextBox
For Each txt In Me.Form
txt.BackStyle = Normal
Next txt
but I get a type mismatch error. Any ideas?