October 9th, 2004, 08:29 PM
|
#3 (permalink)
|
| Ultimate Member
Join Date: May 2002 Location: Youngstown (well nea
Posts: 1,102
|
well, for that loop. i dont have any code.. except for the other things its supposed to do.
about as far as i got was diming a varible as integer to count but then i couldn't figure out how that would do anything other then run it a specific ammount of times.
maybe i can explain the code i have. the 3 buttons are in a groupbox. they are the only ones that need to be cleared.
but again, i dont see how you'd tell it to look at the individual buttons and clear them.
so i dont really have code.. just the ... i have no idea what i'm suppsoed to do going on ... Quote:
Dim MDCintCount As Integer = 1
Do While MDCintCount <= 3
MDCintCount += 1
Loop
| when i first read it i thought something with the tags on the radio buttons. but again, i'm not really sure how i would go about doing that either.
played around with it alitte and i'm at least not making it yell about bad code.. Quote:
Dim MDCintCount As Integer
Dim MDCobjRadio As RadioButton
Do While MDCintCount < Me.Controls.Count
If TypeOf Controls.Item(MDCintCount) Is RadioButton Then
End If
MDCintCount += 1
Loop
| i think that might do it, except it'll do every radio button on the form i think. i'd like to just have it do the ones in the group box.
how would i say to set me.MDCradSeminar3.checked = false and so on with the other names. while its running the loop?
the current issue is i am looking at other code i wrote, but it did something else and not clear.
edit edit, i think i'm going in the wrong direction. maybe i should be using a for loop? i got the one i wrote to count, but it wouldn't go into the radio buttons.
i can asign intgers to the buttons in the tag, but then i am not sure how to make it do it that way either...
me and visual studio help arn't getting along, and my book dosn't have any exaples of this, that i've found yet.
Last edited by BobOmega : October 9th, 2004 at 11:23 PM.
|
| |