Types the given text into the auto box complete box and selects a match.
If there is no match after entering the text an exception is thrown. If value of the parameter matchIndex is less than 0 or greater than the number of matches an exception is thrown as well.
autoCompleteBox.Select(text, [matchIndex])
autoCompleteBox.Select(text, [matchIndex])
Variable | Description |
---|---|
text | The text to type into the text box. String. |
matchIndex | Optional: The index of the match to select. The value is zero-based. Integer. |
VB
autoCompletBox.Select("Apple")In order to select the third match starting with the text "A" type:
autoCompletBox.Select("A", 2)