473,379 Members | 1,201 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,379 software developers and data experts.

listbox/checklistbox autocomplete

Is there any way to get a listbox or a checklistbox behave in an
autocomplete manner, such that given 'two', 'three', 'water', 'them' would
bring the selection to 'two' (not 'water') when I key in 'tw'? I know using
various autocomplete routines I can do this with a combobox, but I need to
do it with either a listbox or a checklistbox.

Thanks for any help.

Bernie Yaeger
Jul 21 '05 #1
5 2924
Bernie,

I once wrote this piece of code for you, is there still something wrong in
it?

http://groups-beta.google.com/group/...71d7cb3c?hl=en

You did not tell that.

Cor
Jul 21 '05 #2
Bernie,

I once wrote this piece of code for you, is there still something wrong in
it?

http://groups-beta.google.com/group/...71d7cb3c?hl=en

You did not tell that.

Cor
Jul 21 '05 #3
Hi Cor,

I cannot get your code to work with a listbox because there are no
selectionstart and selectionlength properties. Could you try to modify your
code so that it works for a listbox? I have tried, but without any success.

Tx,

Bernie

"Cor Ligthert" <no************@planet.nl> wrote in message
news:O$****************@TK2MSFTNGP09.phx.gbl...
Bernie,

I once wrote this piece of code for you, is there still something wrong in
it?

http://groups-beta.google.com/group/...71d7cb3c?hl=en

You did not tell that.

Cor

Jul 21 '05 #4
Bernie,

I think that you should create a static textbox in the code and simulate how
the textbox works in the combobox (as well the backspace etc.).

I don't like this kind of programming on the position, so try it yourself
first.

Cor
Jul 21 '05 #5
Hi Cor,

OK - I'll give it a try.

Tx,

Bernie

"Cor Ligthert" <no************@planet.nl> wrote in message
news:uf**************@TK2MSFTNGP15.phx.gbl...
Bernie,

I think that you should create a static textbox in the code and simulate
how the textbox works in the combobox (as well the backspace etc.).

I don't like this kind of programming on the position, so try it yourself
first.

Cor

Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: MikeY | last post by:
Hopefully someone can help me on this. I am using C#, making Windows forms. I have created a listView with checkbox's. I have enabled the checkboxes under the properties, and all the data,...
2
by: MikeY | last post by:
Hi all, I am coding window forms in C#. My problem is this: I have created a "Check ListView" or a 'ListView' with checkbox's. I have populated the it with my files from my folders, mps, txt,...
4
by: Kav | last post by:
As the title states, on my development PC there is a textbox which allways displays as a textbox. However on the clients PC it is showing previous entries he has made to the TextBox as a ListBox. ...
2
by: Mike Kim | last post by:
hi all, i have a checklistbox populated with about 50 items from database. and on the same form, i added to button to do the following. if you click this button, i want to have all items in the...
4
by: Bernie Yaeger | last post by:
Is there any way to get a listbox or a checklistbox behave in an autocomplete manner, such that given 'two', 'three', 'water', 'them' would bring the selection to 'two' (not 'water') when I key in...
1
by: Microskills | last post by:
I am a new VB.NET programmer. I am writing a dictionary program with a Dictionary file has over 60000 entries. When user starts typing a word in the searchbox, I want to show words that start with...
2
by: Rex the Strange | last post by:
Hi All, Can anyone help me out here, please? I would like to have a listbox where each line item has two checkboxes associated with it. I know that I can use the checklistbox component (which I...
7
by: renuami | last post by:
Hello I have a listbox with 30 items/values and i am binding these values from database. Here is my question when 'A' is pressed automatically how can i transfer the control to the word that starts...
3
by: khalidjan9 | last post by:
I have data in an arraylist and i want to add data to checklist box on runtime and i also want to display a textbox besides it so that i get the comments example : checklistbox "text" textbox...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.