VBChallenged
Solid State Member
- Messages
- 6
right now i'm having trouble loading my alphabet by using a control array. i was given this code to use and it still isn't working right. If anyone could help me find where the problem is i would greatly appreciate it.
for i = 1 to 25
load lblAlphabet(i)
lblAlphabet(i).left = lblAlphabet(i).left + i * conLeftC
lblAlphabet(i).caption = Mid(strAlpha, i + 1, 1)
lblAlphabet(i).visible = true
next i
(conLeftC = 270 in your general decleration)
(strAlpha = "abcdefghijklmnopqrstuvwxyz" in general declaration)
for i = 1 to 25
load lblAlphabet(i)
lblAlphabet(i).left = lblAlphabet(i).left + i * conLeftC
lblAlphabet(i).caption = Mid(strAlpha, i + 1, 1)
lblAlphabet(i).visible = true
next i
(conLeftC = 270 in your general decleration)
(strAlpha = "abcdefghijklmnopqrstuvwxyz" in general declaration)