For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > April 2005 > Drop down combo box









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Drop down combo box
Ricky

2005-03-31, 8:59 pm

Hi everybody,

I have a combo box that gets populated with CUSTOMER NAMES once the
application is run. What I want the user to do is, while they are typing a
certain user name, the combo box automatically scrolls to the typed letter.
For example: if user types the letter J, the combobox automatically goes to
the first name on the list that starts with J. After that user types O, it
should show all names with JO and so on. Is that possible?

Thanks
Larry Serflaten

2005-04-01, 4:01 am


"Ricky" <Ricky@discussions.microsoft.com> wrote
>
> I have a combo box that gets populated with CUSTOMER NAMES once the
> application is run. What I want the user to do is, while they are typing a
> certain user name, the combo box automatically scrolls to the typed letter.
> For example: if user types the letter J, the combobox automatically goes to
> the first name on the list that starts with J. After that user types O, it
> should show all names with JO and so on. Is that possible?


This is a very common question and is answered already at several places
on the web. Do a search for: COMBOBOX and FINDSTRING but look out
for references to .Net....

LFS


Karl E. Peterson

2005-04-01, 4:01 am

Ricky wrote:
> I have a combo box that gets populated with CUSTOMER NAMES once the
> application is run. What I want the user to do is, while they are
> typing a certain user name, the combo box automatically scrolls to
> the typed letter. For example: if user types the letter J, the
> combobox automatically goes to the first name on the list that starts
> with J. After that user types O, it should show all names with JO and
> so on. Is that possible?


http://vb.mvps.org/samples/ListSearch
--
Working Without a .NET?
http://classicvb.org/petition


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com