KB-59171: Searching for items in a ComboBox.

Question:

How can I search for items in a ComboBox?

Solution:

To do so, you must set up the ComboBox’s MatchEntry property. This property searches for a text entry (according to what has been typed by the user) that coincides with the data that already exists in the object. The options available for this property are:

  • 0 – fmMatchEntryFirstLetter: Searches for an item coinciding with the first character being typed.
  • 1 – fmMatchEntryComplete: As each character is being typed, the object searches for an item coinciding with what is being written.
  • 2 – fmMatchEntryNone: Does not search for any item in a ComboBox.

The default value for this property is 1 – fmMatchEntryComplete.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *