|
-
Jul 31st, 2002, 06:26 AM
#1
Thread Starter
New Member
Check Box Question
Hi
I have 44 check boxes in my program and what i want to do is for 6 of those 44 to be selected?
-
Jul 31st, 2002, 06:26 AM
#2
-= B u g S l a y e r =-
what is the question?
-
Jul 31st, 2002, 06:38 AM
#3
Thread Starter
New Member
my question is how can i get exactly 6 boxes to selected?
-
Jul 31st, 2002, 06:41 AM
#4
-= B u g S l a y e r =-
sorry you have to explain in more detail..
what checkboxes do you want to check, when do you want them to be checked, and are all these chckboxes part of a control array or not ????
you must give us some more information, in order for us to answer your question...
Last edited by peet; Jul 31st, 2002 at 06:46 AM.
-
Jul 31st, 2002, 06:45 AM
#5
-= B u g S l a y e r =-
one way of selecting 6 checkboxes
VB Code:
Dim c As Control
Dim i As Integer
For Each c In Me
i = i + 1
If i = 6 Then Exit For
c.Value = vbChecked
Next c
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
|
Click Here to Expand Forum to Full Width
|