LISTBOX GET SELECTED

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ListBox Control > ListBox Control Commands >

LISTBOX GET SELECTED

 

Description

 

Retrieve the current selected line inside a list box control.

 

Syntax

 

LISTBOX GET SELECTED hWnd, ctrlID TO sPos

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

sPos

Variable

No

A single numeric variable that will receive the returned selected position. Position starts from 1

 

Remarks

 

Restrictions

 

See also

 

Examples