I'm trying to enable/disable all the objects of a certain type on my form, such as all the text boxes. I'm doing this in a similar method to how the proper way to close out of VB 5/6 was.
Here is what I have

dim txt as TextBox
For Each txt in Me
txt.Enabled = False
Next

Now, the Me part doesn't work, so what do I put in place of that so it knows to disable all the text boxes on that form? It's the only form I have so far, and I've tried the form name but it's not working.

Your help is appreciated. Thanks.