|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can you not do this?I'm wondering if its possible to do something along these lines. My
guess is no. For i = 1 to 125 Label & i ="" next or maybe Label(i).text="" Melton,
What is wrong with this method, would you think that if there was one method for that it would do it behind the scene in another way. If it is about all labels on a form, than there are methods, which does not make it you needed to use so consequent in your label name the index, what is not the best thing to do. If that is the situation, tell that than, I will show you than how you can do that recursive and take as well all labels inside panels or whatever. You can as well create an array of the labels and use that to set them on zero. Cor <melt***@hotmail.com> schreef in bericht Show quoteHide quote news:1153537000.472569.197460@h48g2000cwc.googlegroups.com... > I'm wondering if its possible to do something along these lines. My > guess is no. > > For i = 1 to 125 > Label & i ="" > next > > or maybe > Label(i).text="" > <melt***@hotmail.com> schrieb:
> I'm wondering if its possible to do something along these lines. My Accessing controls by their names or indices> guess is no. > > For i = 1 to 125 > Label & i ="" > next > > or maybe > Label(i).text="" <URL:http://dotnet.mvps.org/dotnet/faqs/?id=controlbynameindex&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Not first class in file
Coding style acceptable rounding practices in banking. Program flow with multi-threading app - corrupted datatables where to store sound file Difference between Cint and Convert.ToInt32 ? OOP Confused Vb Win app crashes on start WebBrowser control not responding to SetScroll API How can I to pass an array to a DLL function? |
|||||||||||||||||||||||