Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check box

Status
Not open for further replies.

bebig

Technical User
Oct 21, 2004
111
US
Hi,
I have a question about checkbox

for example,

if I click on checkbox, and then click "selectAll" button, it will select all files on the lists.

How can I start???

this is what I have..
---------------
Private Sub SelectAll_Click()

End Sub
-------------------

Thank you in advance.
 
????
Where is your checkbox? What do you mean "Files on the lists"? Where is the "SelectAll" button?
More details will help.
 
hi,
this is checkbox

---
Private Sub Check2_Click()

End Sub
---
this is selectAll button

---
Private Sub SelectAll_Click()
If Check2.Value = vbChecked Then
'Check2.Value = vbUnchecked
' Do something.
'MsgBox "Clicked"
End If
If Check2.Value = vbUnchecked Then
SelectAll.Enabled = False
End If

End Sub
-----
 
Sorry, but I still don't understand.
The SelectAll button means all what? Where is this all list?
Why do you want Check2 to be unchecked when SelectAll is clicked?
Your code looks to me like vb6 code. Thsi is a forum for VB.NET, although you can find help here too.
If you don't know where to start, the best way is to write what is your application purpose from the user view.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top