You could have each RadioButton action event write its index to a variable in the parent (window?) class. Then, it would be easy to access from outside which one was true.
Jim Wagner On Mar 21, 2007, at 3:26 PM, Norman Palardy wrote: > > On Mar 21, 2007, at 5:02 PM, [EMAIL PROTECTED] wrote: > >> P.S. You could do this with a Select Case if you really want to, I >> suppose, but it'd be an odd one: >> >> select case True >> case is radiobutton(0).Value >> ... >> case is radiobutton(1).Value >> ... >> end select >> >> Here, you're switching based on the value of "True" by comparing it to >> several object properties. Backwards and weird, but ought to work. > > Backwards and weird it is but it works like a charm :) > > Can get rid of a lot of "if then else if" code especially with fairly > complex conditions > _______________________________________________ > 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>
