Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > LISTBOX Control >

LISTBOX GET SELECTED

Previous pageReturn to chapter overviewNext page

 

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