Hi All
I have a question over whether it is possible to reference multiple objects (textboxes) in a single statement using maybe a wildcard.
I have to make visible approx 300 text boxes based on a trackbar value, and wondered rather than:
tbxW2R1.visible = true
tbxW2R2.visible = true
tbxW2R3.visible = true etc.
I could do something like:
tbxW2R & "*" .visible = true
I have to say that only some will hide in stages, so I cant really use a "set all textbox types on the form to hide" statement.
Anyone any ideas?
Thanks
I have a question over whether it is possible to reference multiple objects (textboxes) in a single statement using maybe a wildcard.
I have to make visible approx 300 text boxes based on a trackbar value, and wondered rather than:
tbxW2R1.visible = true
tbxW2R2.visible = true
tbxW2R3.visible = true etc.
I could do something like:
tbxW2R & "*" .visible = true
I have to say that only some will hide in stages, so I cant really use a "set all textbox types on the form to hide" statement.
Anyone any ideas?
Thanks
Last edited: