|
-
Dec 31st, 2011, 07:23 PM
#1
Thread Starter
New Member
Issues with label array
I have an array of labels, which will get information from different arrays, depending on which one is selected. I need to assign one of these sets of arrays to a certain label which is in the array. Below is a quick example of the issue:
Private Sub Command2_Click()
Tada Label2, 0
End Sub
Private Function Tada(Name As Label, Tes As Integer)
Name(Tes).Caption = Tes
End Function
This will not allow you to enter the line: Name(Tes).Caption = Tes, However, if you enter Form1.Name(Tes).Caption = Tes it will allow you to enter, but still not work.
If anyone has any suggestions on how to get this to work, i would very much appreciated it
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
|