Advertisement

07.26.2007 at 11:53PM PDT, ID: 22724766
[x]
Attachment Details

set VB.NET ListBox.selected index as you type into it

Asked by mah8473 in Microsoft Visual Basic.Net

Tags: listbox

Using VB.NET 2.0, how do you select a listbox item as you type into it? This was default behaviour in VB6.0 but I can't seem to make it work in VB.Net. I have found some samples that allow you to set the listbox selectedindex as you type into a textbox but I want to allow the user to type into a listbox and select the relevant item (or nearest match) as they type.

Is this possible?

I first thought it may have something to do with the IMEMode property but can't seem to make it workStart Free Trial
[+][-]07.27.2007 at 02:12AM PDT, ID: 19581013

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Tags: listbox
Sign Up Now!
Solution Provided By: Sancler
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.27.2007 at 05:30PM PDT, ID: 19583151

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.30.2007 at 04:38PM PDT, ID: 19596735

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.30.2007 at 06:49PM PDT, ID: 19597255

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32