property Items.VisibleItemCount as Long
Retrieves the number of visible items.

 TypeDescription 
   Long A long expression that specifies the number of visible items in the control. The value could be a positive value if no filter is applied, or negative while filter is on.  
The VisibleItemCount property counts the number of visible items in the list. For instance, you can use the VisibleItemCount property to get the number the control displays once the user applies a filter.

The VisibleItemCount property returns a value as explained bellow:

The VisibleCount property retrieves the number of items being displayed in the control's client area. Use  FirstVisibleItem and NextVisibleItem properties to determine the items being displayed in the control's client area. Use the IsItemVisible property to check whether an item fits the control's client area. Use the ItemCount property to count the items in the control. Use the ChildCount property to count the child items


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.