#Passing Control Arrays?
14-Oct-91 08:30:10
Sb: #2876-#Passing Control Arrays?
Fm: Mark Novisoff/MicroHelp 73047,3706
To: John Geffel 76336,2052
John,
I don't believe it's possible to pass a control array to a procedure.
Instead, you need to call the procedure once for each control:
For I = 0 To LastControl
SomeProc CtlName(I)
Next
It does sound like an interesting idea for 2.0 though! As long as were at
it, I hollered a lot about control arrays during the VB beta period. In
particular, I wished for LBound and UBound functions. The big problem is
that control arrays do not require that all elements be used, so perhaps
they're not appropriate.
Mark
There is 1 Reply.