General discussion

Locked

Combo (Select as you type)

By raval_manoj ·
I've combobox contains long list of city names. Now I want to select the entry as I type. For ex if "Am" is typed it select the entries starting with "am". If "Van" is typed it select the entries startin with "Van". I need help for the same.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Depends

by Tony Hopkinson In reply to Combo (Select as you type ...

Do you want to cut down the list of choices available based on input or jump the highlight to the nearest match. I'd be shocked if you can't download a 3rd party activeX with this functionality.
But essesntially you trap the keys
with a keydown handler and extract matches from an external list of items and then repopulate the combo list items or you iterate through the items in the combolist for the first match and set the selected? property.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums