Jul 30, 2006

Listgrid - update 2

When using the vertical scroll bar to move through the grid, there where problems with the screen painting. Screen painting issues are also mentioned in VFP's help about the Scrolled event. However, it's now solved by changing some code in the Scrolled event of the grid.

I also found two new issues to think about:
1) You can select/deselect the current record with Ctrl+mouse click. However, when you move away from the this record by using the down or up arrow keys, the previous or next record is selected, but keeps the selected/deselected state of the previous record.
2) When there are multiple records selected and you move to the right most column in the grid, there is allways some space at the right. You can see there that the inverted color of the current record continues in this 'empty column', but the other selected records don't.

An updated download is available here (ZIP compressed file, 44 kb).

For more info about the Listgrid control, see the original post of July 16.

No comments: