FormsComboBox

Class Overview
Provides operations on controls of type System.Windows.Forms.ComboBox.



public FormsComboBox (WindowControl src)
Description
Constructor.

Parameter
src
Window control object for the underlying control.



public FormsComboBox (WindowsAppFriend app, AppVar appVar)
Description
Constructor.

Parameters
app
Application manipulation object.
appVar
Application variable for the control object.



public int ItemCount {get;}
Description
Returns the number of items in the list.



public int SelectedItemIndex {get;}
Description
Returns the index of the currently selected item.



public void EmulateChangeSelect (int index)
Description
Selects the item with the specified index.

Parameter
index
Item index.



public void EmulateChangeSelect (int index, Async async)
Description
Asynchronously selects the item with the specified index.

Parameters
index
Item index.
async
Asynchronous execution object.



public void EmulateChangeText (string text)
Description
Modifies the control's text.

Parameter
text
Text to use.



public void EmulateChangeText (string text, Async async)
Description
Modifies the control's text.

Parameters
text
Text to use.
async
Asynchronous execution object.



public int FindString (string text, int startIndex)
Description
Finds an item with the with the specified text value.

Return value
Index of the item found.

Parameters
text
Text to search for.
startIndex
Index where searching should start.



public string GetItemText (int index)
Description
Returns the text for an item in the list.

Return value
The item's text.

Parameter
index
Index of the item.

JR