On Mar 21, 2007, at 7:47 PM, Karen wrote: > >> I’m trying to save the state of a radio button array from the >> action event >> of the “ok” button in the same window. >> >> in the radio button array I can have code like >> >> me.index >> >> but if I try to reference it from the pushbutton like this >> >> select case radiobutton().index >> ... > > > Not sure what you are trying to do here but you could do this and it > does work: > > Select Case RadioButtonControlArray(i) > Case RadioButtonControlArray(0) > ... > Case RadioButtonControlArray(1) > ... > End select
Posted too fast... sorry about typos if you just want to save their states then if you know the highest index and they are continuous: Dim Status() as boolean For i as integer = 0 to LastIndex Status.Append RadioButtonControlArray(i).Value Next - Karen _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
