ComboListBoxFunctions

Last Updated:

Actions for ComboListBox objects


[How To Read This Reference]
Select
RC WR TC
Select an item by its text value from an exposed combobox dropdown list.
SelectIndex
RC WR TC
Select an item by its index from a combolistbox.

ComboListBoxFunctions::Select
RC WR TC

Select an item by its text value from an exposed combobox dropdown list.

Select an item by its text value from an exposed combobox dropdown list. This method requires that the list already be exposed via a ComboBox Click command. To combine both the Click and the Selection in a single command use the ComboBox Select command.

We first test to make sure the item to select is actually in the list. If it is not, we report the failure and issue an ESCAPE character to close the list.



Fields: [ ]=Optional with Default Value
  1. TextValue
    The case-sensitive text item to select

    TextValue should contain the case-sensitive text item to select. You can enclose this text in double-quotes to ensure proper retrieval.

Examples:
  • T, Window, ComboListBox, SELECT, "my text"
    Select the item "my text" from the ComboListBox object.


[How To Read This Reference]

ComboListBoxFunctions::SelectIndex
RC WR TC

Select an item by its index from a combolistbox.

Select an item by its index from a combolistbox. The list must already be exposed via a preceeding ComboBox Click.

The routine will attempt to see if the index exists in the list. It will fail if it cannot validate the index or cannot read the array of items.



Fields: [ ]=Optional with Default Value
  1. IndexValue
    The item index in the exposed list to select.


Examples:
  • T, WINDOW, ComboListBox, SELECTINDEX, "1"
    This action attempts to Select item #1 from the exposed ComboListBox list.


[How To Read This Reference]