Phantom Documentation

[Help Home] [Phantom Home]
GetSel

int window.GetSel()

Applicable Classes: ListBox

Return Type: int
Parameters: none

Description:
GetSel returns the index of the currently selected item in a listbox. The GetElement function can then be used to retrieve the text of that item. If no item is selected, an index of '-1' is returned.

For an example, see the ListBox functions page.


See Also: ListBox Functions, GetElement


Copyright 2000-2011 Phantom Automated Solutions