As requested here is an example of how to filter the list displayed in a combo box. The full list is stored as a custom property of the combo box so it can be referred to as needed.
As the user types the textChanged message is handled, the list is filtered using the filter command to find all the lines that have what the user typed at the start. Then the text(options) property of the combo box is set to the filtered list. The label property is also reset to what the user typed as this updates when the text property is set.
The code is all on the combo box.
Code: Select all
on textChanged put the label of me into tFilter put the cFullList of me into tList // Filter the list using what has been typed filter tList with (tFilter & "*") // Reset the options set the text of me to tList // Reset the entry set the label of me to tFilter end textChanged