Yes! @ You can download it from the feedback case.
Seems like William fixed it.
Yes! @ You can download it from the feedback case.
Seems like William fixed it.
Oh William also highlighted the line in the listbox code that was causing the canvas painting issue as well as fixing the flicker. Hopefully that fixes everything?
Yea. Theres a bug with the listbox which worsened in R2 where cell borders eat up CPU. Ill be submitting a case for that. Do you have any workarounds for cell borders?
You’re referring to the line William highlighted?
If you move:
CellBorderRight(row, column) = ListBox.BorderThinSolid
from SuperListBox.CellBackgroundPaint to after:
Cell(LastIndex, j) = col //recordArray(i)//rs.IdxField(i+1).StringValue
e.g.
CellBorderRight(lastIndex, j) = ListBox.BorderThinSolid
in SuperListBox.Populate and any other places you want to set it rather than putting it inside the CellBackgroundPaint event then things should work as expected.
Also, if you change the Invalidate to a Refresh(false) at the bottom of CanvasListbox.DrawListBox then you will get a much smoother scroll.