|
-
Nov 27th, 2003, 05:11 AM
#1
Thread Starter
Frenzied Member
Combo Selection
How do you make the combo box select the nearest match when you type in the search field (automatically select it) when you resize it so that it's all visible?
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
Nov 27th, 2003, 05:16 AM
#2
-= B u g S l a y e r =-
dont get it ... could you elaborate a bit please ?
-
Nov 27th, 2003, 05:44 AM
#3
Hyperactive Member
Can you please explain a bit more .
-
Nov 27th, 2003, 06:03 AM
#4
Thread Starter
Frenzied Member
OK, get a combo box, and populate it with a few number for example 0011,0013,0016 ok, now drag the bottom border down so that it reveals the list under it (looks like a textbox and a listbox put together) and start typing 0016. As you will see, it doesn't highlight the closest match to what you have in the text field. Is there a way to make it select the first object and keep selecting the closest match until it gets the correct one? the best it can do is scroll the box but that's useless if the item is towards the bottom.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
Nov 27th, 2003, 06:40 AM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|