folderlistview IsScrollBarsVisible method
Return to Introduction  Previous page  Next page
Applies to
dcFolderListView component.  

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 FolderListView1.IsScrollBarsVisible do  
  FolderListView1.Height := FolderListView1.Height + 24;