I've got a very similar issue as the person on this forum post. www.borlandtalk.com/virtual-listview-updates-vt68677.html
I'm using Delphi 7, and I've found that a change to the Count property automatically scrolls the listview so the focused item is visible. My users would prefer the position not be changed just because an item was added or removed from the bottom of the list. It is common in my app to have a selected item somewhere and scroll to another position for a look. It acts identically as if the MakeVisible function was activated but I've traced the ComCtrls and MakeVisible is not being executed. Is this a problem in the Win32 API itself? I've tried storing the TopIndex when the Count is updated and using Scroll to go back to where it was, but this doesn't work. I guess the automatic scroll occurs in a Windows message which is executed after my procedure finishes. Does anyone know a way to get around this? Cheers, Ross. _______________________________________________ Delphi mailing list [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
