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!

How to see if checkboxes in a listview is marked ?

Status
Not open for further replies.

Heino

IS-IT--Management
May 9, 2001
2
SE
Hi

I have a listview with checkboxes. When I click a commandbutton, how can I check wich checkbox is marked in the listview ?

Heino
 
Put something like this in the cmd button click event

WITH [listview object]
FOR i = 1 to .LISTITEMS.COUNT
IF .LISTITEMS(i).CHECKED
** Code to process if item checked
WAIT WINDOW .LISTITEMS(i).TEXT + ' is checked'
ENDIF
ENDFOR
ENDWITH
 
Great Thanks Paul !
This put me over the treshold !

/ Heino
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top