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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a Checkbox style Listbox

Status
Not open for further replies.

33216CLC

Programmer
Aug 17, 2000
173
BS
I am very familiar with the the standard use of a listbox. However I am not very familiar with the use of a checkbox style listbox. I would like to select which employees I wish to process either payroll or a list of reports for. How can I go about this. I know that the Itemcheck event should be used, but that's about it.

Thanks
 
Set the Style property to 1- Checked.

After you have made your selections (by checking the boxes next to the relevant employees), process the list on click of a button. The code for the button will be something like this:

Dim i As Integer
For i = 0 To List1.ListCount - 1
If List1.Selected(i) = True Then
' process element
End If
Next i


Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top