Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Apr 29, 2002



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Determine a Control

To determine whether a control is a member of a control array, you can reference its Index property and handle the generated error when the control is not in an array. Alternatively, you can use the TypeName function, which returns "Object" for members of a control array. The trick to using it is to reference the control array, not just one of its members. You can do this using the Controls collection, keying on the control
Bill McCarthy
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date