
Passing control arrays to subs
I need to pass a control array to a subroutine. Something like
Private Sub Test(txtC() as TextBox)
.
.
.
txtC(3)=""
.
end sub
elsewhere in the program
Test txtBox1()
.
.
Test txtBox2()
I understand that a control array is not implemented as a normal array is
and that the above is not legal.
My question is: How can I do the equivalent?
Thanks
Cal George
P.S.
With a normal array is the correct way to pass an array Arr to Junk
Junk Arr()
or
Junk Arr