Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Completing a ComboBox Value

Status
Not open for further replies.

APS

Vendor
Sep 25, 2000
53
US
Hi

Is there a setting or away to set a combobox to autocomplete as user types in a value so they don't have to browse the dropdown.

Thanks,
Anthony
 
Hi Anthony,

If your combobox's style property is set to 2-Dropdown List, the answer is yes. The IncrementalSearch property will solve all your ills.

However, if your style property is set to 1-Dropdown Combo, unfortunately, the answer is no.

At in the Files/Classes section, there are two autocomplete combobox classes authored by Ken Weber & Rip Ryness. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
If your row source is a table or cursor, then you can get the same effect as auotocomplete with a bit code writing. You will be using the selected text properties and interactive change event. The first one you do is a little tricky to wrap your mind around but they get easier each time.
-Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top