Phantom Documentation

[Help Home] [Phantom Home]
Select

window.Select(id);

Applicable Classes:
ListBox, ComboBox, PageList, ListView

Parameters:
int id - The id number of the item to select.  In general, it is the number order (zero based) of the item in the list.
Return Value: None

Description:
The Select function selects an item in a ListBox, ComboBox, or PageList as if it were selected by either key input or mouse input.  The item selected is identified by the 'id' parameter.  An error is logged if 'id' does not correspond to any items in the window.

ListView: This function selects the row corresponding with id. The id is zero-based.




See Also: ListBox Functions, ComboBox Functions, PageList (TabCtrl) Functions, ListView Functions



Copyright 2000-2011 Phantom Automated Solutions