473,387 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

combo box: (drop down method)

lee123
556 512MB
i have a form i am making. it's for my work, it has to do with mats that we rent out with these mats they are all logo mats that goes in this beehive in each section there is 69 holes i have made them A - L each rt driver has his own section in my form i have made something that looks like the beehive and i have placed several lables and a few text boxes i have a combo box that holds the mat names so when a user wants to find a mat he can drop down the combo box and click on it.

But the only problem is that this is time consuming because there are hundreds of logo mats to look for. the form i made darkens the hole where the mat is in the beehive and the section it's in like:( "A".)

Question:

i want to know if the user can enter in a few letter of the logo mat and the combo box will open and go right to that mat so he doesn't have to scroll through the list


lee123
Nov 11 '07 #1
7 1935
lee123
556 512MB
well im not awake yet. the visual basic im using is vb6

lee123
Nov 11 '07 #2
Killer42
8,435 Expert 8TB
I do remember reading about a method of doing this, years ago. Give me a day or two to dig it up.

(Feel free to post a reminder here from time to time, as I'm pretty busy and it may get buried under other work.)
Nov 14 '07 #3
QVeen72
1,445 Expert 1GB
Hi,

Make the "Sorted" property of the ComboBox = True,
After typing in few letters(continuosly), the Pointer /Selected Item moves if the typed letters match..

Not very sure if you are looking for something else...

Regards
Veena
Nov 14 '07 #4
Killer42
8,435 Expert 8TB
I thought it only jumped to ones starting with the letter pressed. Perhaps I'm confusing it with the listbox.
Nov 14 '07 #5
QVeen72
1,445 Expert 1GB
Hi Killer,

Make Sorted = True
Type few letters Continuosly, it will go and Stand there..
Same Logic Applies for the ListBox also..


Regards
Veena
Nov 14 '07 #6
lee123
556 512MB
will this open the combo box automaticlly when entering the word.

lee123
Nov 14 '07 #7
QVeen72
1,445 Expert 1GB
Hi,

To automatically open ComboBox, Write this code in Combo's Gotfocus event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Combo1_GotFocus()
  2.     SendKeys "%{DOWN}"
  3. End Sub
  4.  
Regards
Veena
Nov 15 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Diane Yocom | last post by:
Has anybody ever seen or written code for ASP that would mimic Access' multi-column combo box? Specifically, I have a drop down box that lists about 100 five-digit codes. Each of these codes has...
5
by: Paul | last post by:
I have read the posts on using Sendkeys to dropdown the list in a combo box. However, doesn't that require the combo box to have the focus? My situation is a little different. I have a text...
9
by: Bob Alston | last post by:
In 2002, "GrayJay" posted the following code: I did this in a jazz record catalogue to find composers - On a form "frmComposers" Create a text box - txtFindComposer, and add the following sub...
10
by: lorirobn | last post by:
Hi, I have a form with several combo boxes, continuous form format, with record source a query off an Item Table. The fields are Category, Subcategory, and Color. I am displaying descriptions,...
1
by: John Taylor | last post by:
I think this is easy for a guru but I've been bashing my head for hours. I have a drop down box in a form that looks up details from a table. There are two fields in the drop down box and I...
0
by: Jeremy Wallace | last post by:
Folks, Here's a write-up I did for our developer wiki. I don't know if the whole rest of the world has already figured out how to do this, but I hadn't ever seen it implemented, and had spent a...
13
by: mirandacascade | last post by:
I want to set things up such that a section of code will have been executed by the time one clicks on the drop down arrow on a combo box control. Currently, that section of code resides in the...
7
kcdoell
by: kcdoell | last post by:
I have three tables: One for the Division location: tblDivision DivisionID = Autonumber DivisionName = Text One for the Working Region: tblWrkRegion
3
kcdoell
by: kcdoell | last post by:
I have 5 cascading combo boxes on a form. Below is a sample of my vb in the first combo box: Private Sub CboDivision_AfterUpdate() 'When the Division is selected, the appropriate Segment...
30
ADezii
by: ADezii | last post by:
This week’s Tip of the Week will clearly demonstrate how you can dynamically set the Drop Down List Width of a Combo Box to the length of the longest item in its Row Source. The inspiration for this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.