Click or drag to resize

ListBox.FirstSelected Method (Typed)

X#
Returns the position of the first item selected in a multiple selection list box, or 0 if no item is selected.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD FirstSelected() AS LONG
Request Example View Source

Return Value

Type: Long
Remarks
ListBox:FirstSelected() positions an imaginary cursor on the first item of the selection. This method is intended for use with a multiple selection list box (i.e., a list box created using the LBOXMULTIPLESEL style).
See Also