Page 1 of 1

Posted: Wed Mar 19, 2003 9:04 am
by BackupUser
Restored from previous forum. Originally posted by cor.

setgadgetitemstate(#lvProduct,0,#PB_ListIcon_Checked)

Makes item checked

How to uncheck all items?

Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com

Posted: Wed Mar 19, 2003 9:14 am
by BackupUser
Restored from previous forum. Originally posted by Pupil.

i think you have to go through all the items in the list and do something like this on every item in list:

Code: Select all

SetGadgetItemState(#lvProduct, item, GetGadgetItemState(#lvProduct, item) & ~#PB_ListIcon_Checked)
Can't test it right now so some adjustment may be needed.

Posted: Wed Mar 19, 2003 5:33 pm
by BackupUser
Restored from previous forum. Originally posted by cor.

Thanks Pupil it works :)

Using Windows 98 SE
Registered Purebasic
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
http://www.chordplanet.com