Hello, I have a combox that I am trying to get to work in the following
fashion.
As you type in the combox that the item that matches what you are type is
selected.
as you type a last name:
Leyman
when L is typed
'Laner' is selected (first item that starts with L)
When Le is Typed
'Leans' is selected (first items that starts with La)
When Ley is Typed
'Ley' is selected (first items that starts with Lay)
etc.
Am I using the wrong control. setting the combobox property to DropDownList
comes close but it does not allow for typing the name it only goes to the
first letter in the Item (i.e. 'L')
Any suggestions will be greately appreciated.
Thanks,
Chuck 4 1812
Hi Charles,
Take a look at this link - http://support.microsoft.com/Default.aspx?id=319946 . I think this is what
you're looking for.
Regards,
Peter Jausovec
( http://blog.jausovec.net)
"Charles A. Lackman" <Ch*****@Create ItSoftware.net> je napisal v sporočilo
news:uV******** *****@TK2MSFTNG P12.phx.gbl ... Hello, I have a combox that I am trying to get to work in the following fashion.
As you type in the combox that the item that matches what you are type is selected.
as you type a last name:
Leyman
when L is typed 'Laner' is selected (first item that starts with L)
When Le is Typed 'Leans' is selected (first items that starts with La)
When Ley is Typed 'Ley' is selected (first items that starts with Lay)
etc.
Am I using the wrong control. setting the combobox property to DropDownList comes close but it does not allow for typing the name it only goes to the first letter in the Item (i.e. 'L')
Any suggestions will be greately appreciated.
Thanks, Chuck
Hi Peter,
Everyone misses the point on this - what he wants is a dropdownlist that
autocompletes.
Bernie Yaeger
"Peter Jausovec" <pe***@jausovec .net> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hi Charles,
Take a look at this link - http://support.microsoft.com/Default.aspx?id=319946 . I think this is what you're looking for.
Regards, Peter Jausovec (http://blog.jausovec.net)
"Charles A. Lackman" <Ch*****@Create ItSoftware.net> je napisal v sporočilo news:uV******** *****@TK2MSFTNG P12.phx.gbl ... Hello, I have a combox that I am trying to get to work in the following fashion.
As you type in the combox that the item that matches what you are type is selected.
as you type a last name:
Leyman
when L is typed 'Laner' is selected (first item that starts with L)
When Le is Typed 'Leans' is selected (first items that starts with La)
When Ley is Typed 'Ley' is selected (first items that starts with Lay)
etc.
Am I using the wrong control. setting the combobox property to DropDownList comes close but it does not allow for typing the name it only goes to the first letter in the Item (i.e. 'L')
Any suggestions will be greately appreciated.
Thanks, Chuck
Hi,
It can be done almost in the same manner. You just need a global string
where you save the user's input and then in KeyUp event you search for it in
combobox and set the appropriate index.
--
Regards,
Peter Jausovec
( http://blog.jausovec.net)
"Bernie Yaeger" <be*****@cherwe llinc.com> je napisal v sporočilo
news:ee******** ******@TK2MSFTN GP11.phx.gbl ... Hi Peter,
Everyone misses the point on this - what he wants is a dropdownlist that autocompletes.
Bernie Yaeger
"Peter Jausovec" <pe***@jausovec .net> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hi Charles,
Take a look at this link - http://support.microsoft.com/Default.aspx?id=319946 . I think this is what you're looking for.
Regards, Peter Jausovec (http://blog.jausovec.net)
"Charles A. Lackman" <Ch*****@Create ItSoftware.net> je napisal v sporočilo news:uV******** *****@TK2MSFTNG P12.phx.gbl ... Hello, I have a combox that I am trying to get to work in the following fashion.
As you type in the combox that the item that matches what you are type is selected.
as you type a last name:
Leyman
when L is typed 'Laner' is selected (first item that starts with L)
When Le is Typed 'Leans' is selected (first items that starts with La)
When Ley is Typed 'Ley' is selected (first items that starts with Lay)
etc.
Am I using the wrong control. setting the combobox property to DropDownList comes close but it does not allow for typing the name it only goes to the first letter in the Item (i.e. 'L')
Any suggestions will be greately appreciated.
Thanks, Chuck
Hi Peter,
I wish it were that simple. I've tried it and it doesn't work.
Can you have a crack at it? If you find a solution, please let me know.
Bernie
"Peter Jausovec" <pe***@jausovec .net> wrote in message
news:ua******** ******@TK2MSFTN GP15.phx.gbl... Hi,
It can be done almost in the same manner. You just need a global string where you save the user's input and then in KeyUp event you search for it in combobox and set the appropriate index.
-- Regards, Peter Jausovec (http://blog.jausovec.net) "Bernie Yaeger" <be*****@cherwe llinc.com> je napisal v sporočilo news:ee******** ******@TK2MSFTN GP11.phx.gbl ... Hi Peter,
Everyone misses the point on this - what he wants is a dropdownlist that autocompletes.
Bernie Yaeger
"Peter Jausovec" <pe***@jausovec .net> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Hi Charles,
Take a look at this link - http://support.microsoft.com/Default.aspx?id=319946 . I think this is what you're looking for.
Regards, Peter Jausovec (http://blog.jausovec.net)
"Charles A. Lackman" <Ch*****@Create ItSoftware.net> je napisal v sporočilo news:uV******** *****@TK2MSFTNG P12.phx.gbl ... Hello, I have a combox that I am trying to get to work in the following fashion.
As you type in the combox that the item that matches what you are type is selected.
as you type a last name:
Leyman
when L is typed 'Laner' is selected (first item that starts with L)
When Le is Typed 'Leans' is selected (first items that starts with La)
When Ley is Typed 'Ley' is selected (first items that starts with Lay)
etc.
Am I using the wrong control. setting the combobox property to DropDownList comes close but it does not allow for typing the name it only goes to the first letter in the Item (i.e. 'L')
Any suggestions will be greately appreciated.
Thanks, Chuck
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: VIJAY KUMAR |
last post by:
Hi all,
I have a problem with combobox. I have 2 comboxes cmbcategory and
cmbsubcategory.
I intialized cmbcategory with sum values from database on Form_Load.
when i select a vlue from the cmbcategory, i will get sub categories in
cmbsubcategory.
on Form load when ever cmbcategory is initializing its automatically
|
by: raj |
last post by:
Please Help with the combox DisplayValue property
private void cboClient_SelectionChangeCommitted(object sender,
System.EventArgs e)
{
String strSQL;
strSQL = "SELECT F.FollowUpPerson FROM tblFollowUpPerson F INNER JOIN
tblFollowUpPersonClient C ON F.FollowUpPersonID = C.FollowUpPersonID WHERE
C.ClientKey = '" + this.cboClient.SelectedValue + "' ";
ds = mg.GetDataSet(strSQL,"userList"); //Def is described at the end
|
by: Alpha |
last post by:
This is a Window based application. How do I get my combox listing to
display in sorted order by DataMember? I inserted a blank row to the dataset
table which is the datasrouce for the comboBox with valuemember wet to -1.
This is showing up at the bottom of the list. I want it to show at the top
of the listing. How can I do that?
Thanks, Alpha
|
by: Alpha |
last post by:
I have a window application. On one of the form, there is a listbox and a
few combox. The lstSchItem has a dataview as a datasource. The comboxes are
bind to its selected value but through the dataset table. Now when I change
the selection in the lstSchItem the comboxes are staying the same and not
reflecting the changes. I tried changing the binding to the dataview.table
but the comboxes are still not changing to reflect the...
|
by: Charles A. Lackman |
last post by:
Hello, I have a combox that I am trying to get to work in the following
fashion.
As you type in the combox that the item that matches what you are type is
selected.
as you type a last name:
Leyman
| |
by: Bob |
last post by:
The scenario is that of the employees table wherein there's an EmployeeId
and a ReportsTo field in the same table. The combobox is one in a datagrid
view that lets you select an employee from the employees table to fill in
the reportsto field, but since a person can't report to himself. I'm
wondering how to exclude the EmployeeId of the selected record from the
dropdown list of the combox. Ideally I think it would be to apply a filter
to...
|
by: neo1ra |
last post by:
Hi,
I'm doing a search combox to pop up and specific record. Everything is working fine until I make a change to the record that I'm working on and try to move to other record. A error message appear that said " Update or CancelUpdate without Addnew or Edit". I think that I need to add a message box that ask you if you want to save the record or not, but I don't know how to do it because I'm new in Access. Here is the code that I'm using...
|
by: summiyashaheen |
last post by:
how to read the valuemember of the combox whose data source is a detaset. i have assigned the properties of displaymember and valuemember . display member cis visible but i cant get the value member behind it..........
|
by: dewgan |
last post by:
I have a form with a combox box where the list is populated via a linked table. This works fine. I have a text box that is filled with the name selected in the combox box. That name is then added to another table. That works fine. My problem is this, I want to keep the second table from being populated with the same name. So, for exampe, if I select the name John Smith in the Combo box but John Smith already exist in the second table, I...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |