I have a project that is using a checklistbox. The items are filled from the listing of filenames in a folder. I use it to check the filenames, change the checked filenames and then I do a refresh or update to repopulate the checklist. I can easily determine which rows have been checked, but is there a way I can have the checklistbox refresh and return to the same view that I had before the refresh? In other words, I am checking rows 28, 29 & 30 out of 100 total rows. In the view that I have when I check them, those 3 rows are at the top of the listing I see on the screen (I have scrolled the rows up to bring rows 28-30 at the top). Is there a way to determine what the position of each row is so I can return the screen view to the same as before the refresh?
See attached picture.
Thanks for any help or thoughts on this.
BZman
================
Lazarus version: 1.2.4
Lazarus svn revision: 45510
Lazarus build date: 2014/06/14
Lazarus was compiled for i386-win32
Lazarus was compiled with fpc 2.6.4
Running on a Win7 desktop, 3 Gig of memory.