listview IsScrollBarsVisible method
Return to Introduction  Previous page  Next page
Applies to
acListView and acDBListView components.  

function IsScrollBarsVisible: Boolean;  

The IsScrollBarsVisible method determines whether the content of the ListView does not fits to the control's bounds and it shows the scrollbars.  
IsScrollBarsVisible returns True if horizontal or vertical scrollbar actually are visible, or False if ListView doesn't need the scrollbars.  

while ListView1.IsScrollBarsVisible do  
  ListView1.Height := ListView1.Height + 24;