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

Declaration
function IsScrollBarsVisible: Boolean;  

Description
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.  

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