Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-20-2005, 10:20 AM   #1 (permalink)
Joel Egghead
Registered User
 
Join Date: Oct 2005
Posts: 5
Joel Egghead is on a distinguished road
Combobox Glitch in VB.NET

I’ve been having a problem with my combobox’s in a program in VB.NET. What I want it to do is when a user types into the combobox it finds the closest element that they are typing. Now this works great if you are manually entering in the data in the items but I have it connected to an Access table that fills automatically. There is 3 different options for the combobox style (Simple, DropDown, & DropDownList) .

-If you use a Simple it takes the first letter you find and finds closest item (doesn’t let you to continually type)

-DropDown lets you type all you want but nothing pops up automatically until you press the down arrow or down key.

-DropDownlist works similar to the simple where you type the first letter and it pops up the first element of that letter and doesn’t let you continually type.

I have a list of items that have a year in front of it …ex ( 2005 cars, 2005 SUV, 2005 Trucks) Now Ideally they can type in “ 2005” and it would pop “2005 cars” in the box but could continue to type “2005 t” and “2005 Trucks” would pop in the box. Right now I have it set up in a DropDown style and they can type what is close and they press the down arrow key and that works ok….but that auto fill would be nice. Anybody have this problem, or have any ideas?

The comboboxs in an access form work the same.
I’m new here so Hello to you all….or you programmers out there “Hello World!”
Joel Egghead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why won't fill combobox? brendalisalowe MS Technologies ( ASP, VB, C#, .NET ) 1 07-12-2005 11:26 AM
iFrame IE6 Glitch Hilden HTML, XML, Javascript, AJAX 4 02-07-2005 06:17 AM


All times are GMT -8. The time now is 02:19 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting