property Menu.VisibleItemsCount as Long
Specifies the maximum number of visible items at one time.

   Long A long expression that indicates the maximum number of visible items into the popup menu.  

By default, the VisibleItemCount property is 12. The control adds scroll buttons to a popup menu, if the menu contains more items than VisibleItemsCount property. Use the Visible property to specify whether an item is visible or hidden. Use the Add method to add new items to the control. The VisibleItemsCount property specifies the number of items being visible without scroll option.

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