property Items.SelectCount as Long

Counts the number of items that are selected in the control.

 TypeDescription 
   Long A long expression that identifies the number of selected items.  

Currently, the control supports only single selection. The SelectCount property counts the selected items in the control. If the control contains a selected item, the SelectCount property is 1. If there is no selected items, the SelectCount property is 0. Use the SelectedItem property to retrieve the handle of the selected item. Use the Value property to select a value in a single column control. The SelectableItem property specifies whether the user can select an item. Use the SelectItem or Select property to select an item.



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