On May 02, 2007, at 15:16 UTC, Rubber Chicken Software Co. wrote:

> Thanks for the tip; really the main issue was passing the control 
> array.

..which you can't do, because there is no control array (*);
RadioButton1 is a function that takes an integer and returns a
RadioButton.  However, you could write a function that takes one
control and returns an array of controls if you really need to deal
with arrays of controls a lot.

> So the function (the way I'd write it) would be:
> 
> Index = GetOptionValue(RadioButton1(0), frmMyWindow)

Right, except that I think you can leave off frmMyWindow, since the
control already knows what window it's on.

Best,
- Joe

(*) First you must realize the truth: there is no spoon.  Er, I mean
control array.  :)

--
Joe Strout -- [EMAIL PROTECTED]
Strout Custom Solutions


_______________________________________________
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