Re: Radio button group event?
"Eames, Andrew" <[email protected]> Wed, 13 Feb 2008 10:09:07 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
I actually ended up using the MouseClick event and handling all the state changes myself. RadioButtons have some rather odd quirks - for instance they get a click event when they receive focus Andrew -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto:[email protected]] On Behalf Of Brady Kelly Sent: Wednesday, February 13, 2008 9:51 AM To: [email protected] Subject: [Spam:***** SpamScore] Re: [DOTNET-WINFORMS] Radio button group event? Andrew, that is exactly what I 'm doing, except less general. However, of course in hind-sight it's quite easy to iterate all the radio buttons and subscribe the same event handler to each of their CheckChanged events, regardless of the use. May I assume that is what you do? I found it useful to build a RadioButtonList control that has a "Value" property and a "ValueChanged" event. It is useful in a number of scenarios including databinding Andrew --=20 BEGIN-ANTISPAM-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 10918523) is spam: Spam: http://mail-gw.cognex.com/canit/b.php?c=3Ds&i=3D10918523&m=3Dcd9187243bb1= Not spam: http://mail-gw.cognex.com/canit/b.php?c=3Dn&i=3D10918523&m=3Dcd9187243bb1= Forget vote: http://mail-gw.cognex.com/canit/b.php?c=3Df&i=3D10918523&m=3Dcd9187243bb1= ------------------------------------------------------ END-ANTISPAM-VOTING-LINKS