[DUG] ListView - Scroll Event

Eric A eaa603 at hotmail.com
Mon Jul 28 13:02:37 NZST 2014


Now, there's a good suggestion.  Brilliant!

With the "RowSelect" property set to True I don't think that the user can unselect an item so there won't be a problem.

Date: Mon, 28 Jul 2014 09:21:24 +1200
From: jsmith at deltics.co.nz
To: delphi at listserver.123.net.nz
Subject: Re: [DUG] ListView - Scroll Event

Why not use the OnSelectItem() event and simply ignore the events where the "Selected" parameter is FALSE ?

The only possible complication I foresee then is if you need to support the user selecting "nothing" (i.e. un-selecting any current selection and leaving the control with no selected item).


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


More information about the Delphi mailing list