I want to click a button on a form that would Disable/enable all text boxes on a form and subform
As there a loads of textboxes, I would prefer not to do things like
Is there like a 'Collection' object which I could use to refer to all all text boxes on a form. I know
refer to the controls, but how could I check whether it is a text box or not, as not all controls could be disabled/enabled..??
As there a loads of textboxes, I would prefer not to do things like
Code:
txtbox.enabled = true
Is there like a 'Collection' object which I could use to refer to all all text boxes on a form. I know
Code:
Controls(index)