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