ListBox.CurrentItemNo Property | |
A numeric value, between 1 and the ListBox:ItemCount, indicating which item is currently selected.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY CurrentItemNo AS USUAL GET SET
public override Usual CurrentItemNo { get; set; }
Request Example
View SourceProperty Value
Type:
UsualA 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