On Tuesday 01 May 2007 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. > Maybe I'm missing something obvious, but if I understnad what you want to do, I've done it with about 4 lines of code.
Subclass the Radio Button and add a shared property e.g. "ChosenButton as Integer" Then in the action event put: ChosenButton=me.index Then the property can be read from anywhere by checking the property of the first button. TheSelection = myRadioButton(0).ChosenButton Don _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
