Board index » delphi » Scrolling in the TListView component

Scrolling in the TListView component

Hi,
I'm unsing a TListView component to display some information (I'm using
report view).  What I want to do, is to automatically scroll the window so
an specific item of the list (the selected item) is visible.

Any ideas?

Thanks for your help.

Carlos E. Galavis

 

Re:Scrolling in the TListView component


Quote
Carlos E. Galavis wrote:
> Hi,
> I'm unsing a TListView component to display some information (I'm using
> report view).  What I want to do, is to automatically scroll the window so
> an specific item of the list (the selected item) is visible.

> Any ideas?

Hi Carlos,

if Assigned(AListView.Selected) then
   AListView.Selected.MakeVisible(False);

Regards,
Scott

Other Threads