Click or drag to resize

ListBox.CurrentItemNo Property

X#
A numeric value, between 1 and the ListBox:ItemCount, indicating which item is currently selected.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY CurrentItemNo AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
A numeric value, between 1 and the ListBox:ItemCount, indicating which item is currently selected.
Remarks
A numeric value, between 1 and the ListBox:ItemCount, indicating which item is currently selected. If no item is selected, it is 0.The ListBox:CurrentItemNo assign also changes ListBox:CurrentItem, ListBox:TextValue, and ListBox:Value. If the assigned ListBox:CurrentItemNo is zero (0), or if it exceeds the ListBox:ItemCount, then no item will be selected. If the ListBox:CurrentItemNo assign represents a change, then ListBox:ValueChanged will be set to TRUE.
See Also