For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > April 2005 > Auto Expand a 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 Auto Expand a Combo Box
Ricky

2005-04-16, 8:59 pm

I've put this question in here before and got help from some people. But the
problem is that I'm a newbie with VB and the solution that I got was very
complex in nature.

I have a combo box that gets populated with names of customers from the
CUSTOMER table in an access database. What I want the user to be able to do
is that when they type a last name in that combo box, the combo box
automatically drops open and start scrolling to the matching last name. So
far I have a List box performing this action and its working like a charm.
But my client wants a combo box to save some space in stead of a list box.
Can anyone help me do this? I'd much appreciate it.

Thanks
Ed

2005-04-17, 4:01 am

On Sat, 16 Apr 2005 15:23:02 -0700, "Ricky"
<Ricky@discussions.microsoft.com> wrote:

>I've put this question in here before and got help from some people. But the
>problem is that I'm a newbie with VB and the solution that I got was very
>complex in nature.
>
>I have a combo box that gets populated with names of customers from the
>CUSTOMER table in an access database. What I want the user to be able to do
>is that when they type a last name in that combo box, the combo box
>automatically drops open and start scrolling to the matching last name. So
>far I have a List box performing this action and its working like a charm.
>But my client wants a combo box to save some space in stead of a list box.
>Can anyone help me do this? I'd much appreciate it.
>
>Thanks


Maybe these will give you some ideas...

Drops down the list portion of a ComboBox when it receives the focus.
http://www.freevbcode.com/ShowCode.Asp?ID=281

Auto Complete ComboBox Version 1.2
http://www.freevbcode.com/ShowCode.Asp?ID=1684

Autocomplete for an Editable Combobox
http://www.freevbcode.com/ShowCode.Asp?ID=4532


Ed

Sponsored Links







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

Copyright 2008 codecomments.com