View Single Post
  #8   Spotlight this post!  
Unread 24-01-2010, 08:25
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Re: Need Visual Basic Help

Two ways you can do it...

1. If they are the only checkboxes on the form(or panel, etc):
Code:
For each ctl as Control in Me.Controls
    If TypeOf ctl is Checkbox then CType(ctl, Checkbox).Checked = False
Next ctl
2. If there are other controls you don't want to mess with, you'll need to just specify each checkbox by name, such as:
Code:
CheckBox1.Checked=False
CheckBox2.Checked=False
...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...