471,313 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,313 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 2678
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by MikeY | last post: by
4 posts views Thread by Bernie Yaeger | last post: by
1 post views Thread by Microskills | last post: by
2 posts views Thread by Rex the Strange | last post: by
7 posts views Thread by renuami | last post: by
reply views Thread by rosydwin | last post: by

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.