|
-
October 19th, 1999, 08:19 AM
#1
Iterate through controls
I have a VB 6.0 form containing a few labels and text boxes. I want to scroll through all these controls programatically and access the data inside (.text property). I also want the controls to be accessed in an order that I would specify at design time (say tab index order). I've tried the controls collection and the "for each item in collection" type loop ; but it gives me controls in an order for which I could not perceive any logic. Please let me know how to set this order. (Does anyone know what order the controls collection give by default ?)
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|