Hello,
i just want to count all rows with checked checkbox, so my CellPressed Event looks like:
if column=0 then
list.RefreshCell(row,-1)
scannedProducts=0
for i as integer= 0 to me.LastRowIndex
if me.CellCheckBoxStateAt(i,0)=DesktopCheckBox.VisualStates.checked then
scannedProducts=scannedProducts+1
end if
next
sProducts.text=scannedProducts.ToString
end if
but its not working as expected, it only updates the value if clicked besides the checkbox…
its working when put into PaintCellBackground…
Why?
Marco