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
How to uncheck all items from listicongadget
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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:
Can't test it right now so some adjustment may be needed.
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)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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