|
-
Hammerhead Shark
Checking values in control arrays VB
I've got an array of check boxes that I need to check, at runtime, whether or not they're all checked, none are checked, or some are checked.
------------------
Athlon XP 1800+ (OC pending)
Alpha PAL8045
Epox 8KHA+
256mb Crucial pc2100 ddr
Maxtor D740x 40 GB
ATI Radeon8500 (300/300)
Antec PP403x 400w
-
Hammerhead Shark
Code:
For counter1 = 0 to (number of checkboxes-1)
If chkBox(counter1).Value = vbChecked then
counter2 = counter2 + 1
EndIf
Next counter1
edit: you need to dimension everything correcty
------------------
Why Yes! I am a proud member of the SF Linux Hippy Club.
[This message has been edited by hobbes2112 (edited November 26, 2001).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|