To John Yingling and RiverGuy
John first:
I need to use For...Next loops to go through the array. I don't think you method will work for me. Thanks for your time and trying to help me. Aside from the index issue do you know how I can add custom properties to my LabelArray?
RiverGuy:
I...
John,
I believe we are talking about the same thing. In VB6 they were created by VB simply by placing multiple controls on your form with the same name.
In VB.net they are no longer available. However, a MS whitepaper described how to create a class that will 'Duplicate' control arrays...
I want to thank John YingLing and RiverGuy for answering my questions. Unfortunately, neither answer seems to solve my problem.
There are three items below!
1) Can I add custom property to a class based on the Label Control? How??
I already have a class based on Labels that works. I have...
I have move an application from VB6 to VB.net. In VB6 I used Control Arrays (an array of Labels). Through articles I have found on various Forums I have been able to re-create control arrays in VB.net.
I have successfully recoded everything in VB.net but have two questions:
1) Can I add custom...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.