|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Help with Radio button loopHello all.
I'm VERY new to VB .Net and I have a bit of a problem. I need to write a loop around radio buttons. My program has three radio buttons that perform calculations based on the same two number but the output is in different formats. So my question is how do I write an If around radio buttons? Here is what I have so far. Thanks in advance. Tim [attached file: program.txt] in the code window, do the calculations for each radio button inside of its
"Checked" Event -- -iwdu15 DrinkyBanjo,
You mean If myRadioButton.checked = True then or If myRadioButton.checked = False http://msdn2.microsoft.com/en-us/library/system.windows.forms.radiobutton.checked.aspx I hope this helps, Cor Show quoteHide quote "DrinkyBanjo" <timrossnospam@optonline.net> schreef in bericht news:FSSCf.888$5z3.589@fe10.lga... > Hello all. > > I'm VERY new to VB .Net and I have a bit of a problem. I need to write a > loop around radio buttons. My program has three radio buttons that > perform calculations based on the same two number but the output is in > different formats. > > So my question is how do I write an If around radio buttons? > > Here is what I have so far. > > Thanks in advance. > > Tim > > > >
Show quote
Hide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message I was able to get this working but in the end that is not what I did. I news:ue1KZyKJGHA.3100@tk2msftngp13.phx.gbl... > DrinkyBanjo, > > You mean > If myRadioButton.checked = True then > or > If myRadioButton.checked = False > > http://msdn2.microsoft.com/en-us/library/system.windows.forms.radiobutton.checked.aspx > > I hope this helps, > > Cor > > > "DrinkyBanjo" <timrossnospam@optonline.net> schreef in bericht > news:FSSCf.888$5z3.589@fe10.lga... >> Hello all. >> >> I'm VERY new to VB .Net and I have a bit of a problem. I need to write a >> loop around radio buttons. My program has three radio buttons that >> perform calculations based on the same two number but the output is in >> different formats. >> >> So my question is how do I write an If around radio buttons? >> >> Here is what I have so far. >> >> Thanks in advance. >> >> Tim wanted to avoid code repetition but I wasn't able to do it successfully. Looks like I will need to discuss with my teacher to see what they were after. Thanks! Tim
User's Mail Editor
Problème data tramsmission from tableadapter to ACCESS database Odd or Even How to: Omit Deafulted Elements from XML When Serializing How to: Retrieving BuiltinDocumentProperties from Word Document What happen to Find in Files in VS2005? Darn, still does not work! convert rtf to html Can't get a value from my app.config file Playing sounds from resources in VB2005 |
|||||||||||||||||||||||