At 12:30 PM 5/1/2007, you 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.
>I'd suggest copying the control array (which is not an array at all) >to an array, and passing the array to the function. But that defeats the purpose, which is to wrap the task of finding out which Radio Button is selected without writing the If/Select in every case. I have such a function in VB. In VB a control array isn't really an array either, but you can pass it in a function. So my wrapper functions in VB is feasible and saves code, which is the entire purpose. With RB you can't, and of course any attempt to make it work (as suggested by others) defeats the purpose; the whole point is to wrap the capability. How do YOU do that in RB? Or is it possible (practically)? This is a job for RB v2007r3, I hope! Or is there a trick...? * * * * * * * * * * * * * * * * * * * * * * * * * * * | 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>
