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

Declaration
function CountPerPage: Integer;  

Description
The CountPerPage function returns the number of items that can fit vertically in the visible area of a list-view control when in list or report view.  

Notes
1. Only fully visible items are counted;  
2. If the current view is icon or small icon view, the return value is the total number of items in the list-view control.