Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > LISTBOX Control > 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |