tripweed
May 26th, 2001, 07:16 AM
Hey there,
My problem is when I create my control array I can seem to get the value of a variable into the control array. I'm kinda stuck and need help quickly.
thankx
Cimperiali
May 28th, 2001, 02:26 AM
"control array "
ie:
text1(0),text1(1) and so on?(Hope I understand it correctly...)
then -for example:
'a form, 1 command button, 2 text boxes which are array of controls
Private Sub Command1_click()
Dim strMystr as String
strMystr= "This is for second element of my array of controls"
Text1(0).text = "This is text of first element of my array of controls"
Text1(1).text = strMystr
End Sub
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.