|
-
July 16th, 2008, 03:46 PM
#1
Symbolic naming
does anyone know how to do this in a for loop in VB6
'txtHI6_Ln5(TabStrip1.SelectedItem.Index - 1).Visible = True
'txtHI6_Ln6(TabStrip1.SelectedItem.Index - 1).Visible = True
'txtHI6_Ln7(TabStrip1.SelectedItem.Index - 1).Visible = True
'txtHI6_Ln8(TabStrip1.SelectedItem.Index - 1).Visible = True
'txtHI6_Ln9(TabStrip1.SelectedItem.Index - 1).Visible = True
'txtHI6_Ln10(TabStrip1.SelectedItem.Index - 1).Visible = True
'txtHI6_Ln11(TabStrip1.SelectedItem.Index - 1).Visible = True
For i = 5 to 11
txtHI6_Ln"i"(TabStrip1.SelectedItem.Index - 1).Visible = True
...
next i?
Thanks , Marc
Last edited by aa173130; July 16th, 2008 at 03:56 PM.
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
|