[DUG] Virtual TListView SelCount bug

Ross Levis ross at stationplaylist.com
Tue Jan 4 18:04:29 NZDT 2011


In D7, I'm using a Virtual ListView (OwnerData=true) for the first time in a
project, and there appears to be a bug in the VCL.  I'm hoping I can make a
fix in the VCL code if possible.

 

I've searched the internet and found a person asking the same question on a
forum but no one answered him.

 

The ListView is MultiSelect.  When using Shift Click to select multiple
items, the SelCount property returns 0.  When using Ctrl Click to select
multiple items individually then SelCount is correct.

 

I would rather not traverse all the items to check the selected state as
this could be in the hundreds of thousands.  Does anyone know of a fix?

 

Many thanks.

Ross.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110104/ab744a54/attachment.html 


More information about the Delphi mailing list