You can't - a control array isn't a true array. You can, however,  
make an array of type <reference-to-Control>, fill it with references  
to the controls you need, then pass that to a method! (keep in mind  
that you should replace "<reference-to-Control" with the actual name  
of the control class when you make the array, so if your controls are  
all PushButtons, then you would make an array

Dim myButtons(-1) As PushButton

myButtons.Append btnThing(0)
myButtons.Append btnThing(1)
...

assuming the controls in question are part of a control array named,  
"btnThing".)

On May 1, 2007, at 11:42 AM, Rubber Chicken Software Co. wrote:

> How do you pass Control Arrays to a external function?
>
> I am dealing with the classic simple task of finding which Radio
> Button is selected, and wrapping that up in a function.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * *
> | Garth Hjelte                                      |
> | Customer Service Representative, President        |
> | Chicken Systems, Inc, Rubber Chicken Software Co. |
> | 714 5th Street SE                                 |
> | Willmar, MN 56201 USA                             |
> |                                                   |
> | 800-8-PRO-EPS    Toll Free Order Line (US Only)   |
> | 320-235-9798     Tech Support, Sampler Questions  |
> |                  International Line               |
> | 360-838-7689     Fax                              |
> | Product Sales:   [EMAIL PROTECTED]             |
> | Product Support: [EMAIL PROTECTED]           |
> | Sampler Q+A:     [EMAIL PROTECTED]                |
> | Web Page:        www.chickensys.com               |
> * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to