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

Auto Complete/Suggest (On Steroids)

I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar; one
for LastName, another for FirstName, and one for CustomerID. When the user
starts typing into any of these textboxes I would like to pop up another
form that shows the user a dynamic list of the closest matches. The user can
then use the up- and down-arrow keys to select a customer from that pop up
form.

To see an example of similar ("close-but-not-quite") functionality, go to
http://www.thebusco.com/ and in the upper left-hand corner there is a
textbox with 'Enter Part Search Here'. Start typing 'air vent cover' to see
the behaviour in question. Yes, it's a Web application and I'm doing a
Windows Forms app, but it shows you the general idea of what I'm trying to
accomplish with Windows Forms.

Please note that I am familiar with the new 2.0 features: AutoCompleteMode,
AutoCompleteSource, and AutoCompleteCustomSource.

But those won't work for my situation because I'm *not* looking to simply
populate a textbox or a combo box from the list.

What I am needing to do is let the user select the customer for which info
is to appear in the currently active MDI form (and not only the control into
which they are typing). The idea is that the user starts typing into any one
of the 3 textboxes; as they type - the pop up window appears and shows the
closest matches. The user then hits the down arrow key a few times to select
the desired match, then hits Enter to (1) close the popup window, and (2)
trigger logic that shows the selected customer's info in the currently
active MDI form.

Note that I want to pop up another window [for the closest matches] so that
I can show the user many property values for the possible matches (and not
simply show them a list of names similar to the one they are searching, for
example).

What do you see as the biggest challenges in accomplishing this dynamic
search capability (and reasonable solutions)? What are the building blocks
you might suggest for the solution?

Thanks for your time and consideration!
Jan 30 '06 #1
6 2329
If I might suggest an ugly solution...feel free to flame.

Why not populate a combobox dropdown with all your lookup data.
Then upon focus event, drop down the combobox and let the user type
whatever. The combobox will go to the matching item.

Regards.

Smithers wrote:
I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar; one
for LastName, another for FirstName, and one for CustomerID. When the user
starts typing into any of these textboxes I would like to pop up another
form that shows the user a dynamic list of the closest matches. The user can
then use the up- and down-arrow keys to select a customer from that pop up
form.

To see an example of similar ("close-but-not-quite") functionality, go to
http://www.thebusco.com/ and in the upper left-hand corner there is a
textbox with 'Enter Part Search Here'. Start typing 'air vent cover' to see
the behaviour in question. Yes, it's a Web application and I'm doing a
Windows Forms app, but it shows you the general idea of what I'm trying to
accomplish with Windows Forms.

Please note that I am familiar with the new 2.0 features: AutoCompleteMode,
AutoCompleteSource, and AutoCompleteCustomSource.

But those won't work for my situation because I'm *not* looking to simply
populate a textbox or a combo box from the list.

What I am needing to do is let the user select the customer for which info
is to appear in the currently active MDI form (and not only the control into
which they are typing). The idea is that the user starts typing into any one
of the 3 textboxes; as they type - the pop up window appears and shows the
closest matches. The user then hits the down arrow key a few times to select
the desired match, then hits Enter to (1) close the popup window, and (2)
trigger logic that shows the selected customer's info in the currently
active MDI form.

Note that I want to pop up another window [for the closest matches] so that
I can show the user many property values for the possible matches (and not
simply show them a list of names similar to the one they are searching, for
example).

What do you see as the biggest challenges in accomplishing this dynamic
search capability (and reasonable solutions)? What are the building blocks
you might suggest for the solution?

Thanks for your time and consideration!

Jan 30 '06 #2
Come on Frank. I'm not into flaming and I won't do it now... though tempted
:-)

"Frank Rizzo" <no****@nospam.com> wrote in message
news:OR**************@TK2MSFTNGP12.phx.gbl...
If I might suggest an ugly solution...feel free to flame.

Why not populate a combobox dropdown with all your lookup data.
Then upon focus event, drop down the combobox and let the user type
whatever. The combobox will go to the matching item.

Regards.

Smithers wrote:
I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar; one
for LastName, another for FirstName, and one for CustomerID. When the
user starts typing into any of these textboxes I would like to pop up
another form that shows the user a dynamic list of the closest matches.
The user can then use the up- and down-arrow keys to select a customer
from that pop up form.

To see an example of similar ("close-but-not-quite") functionality, go to
http://www.thebusco.com/ and in the upper left-hand corner there is a
textbox with 'Enter Part Search Here'. Start typing 'air vent cover' to
see the behaviour in question. Yes, it's a Web application and I'm doing
a Windows Forms app, but it shows you the general idea of what I'm trying
to accomplish with Windows Forms.

Please note that I am familiar with the new 2.0 features:
AutoCompleteMode, AutoCompleteSource, and AutoCompleteCustomSource.

But those won't work for my situation because I'm *not* looking to simply
populate a textbox or a combo box from the list.

What I am needing to do is let the user select the customer for which
info is to appear in the currently active MDI form (and not only the
control into which they are typing). The idea is that the user starts
typing into any one of the 3 textboxes; as they type - the pop up window
appears and shows the closest matches. The user then hits the down arrow
key a few times to select the desired match, then hits Enter to (1) close
the popup window, and (2) trigger logic that shows the selected
customer's info in the currently active MDI form.

Note that I want to pop up another window [for the closest matches] so
that I can show the user many property values for the possible matches
(and not simply show them a list of names similar to the one they are
searching, for example).

What do you see as the biggest challenges in accomplishing this dynamic
search capability (and reasonable solutions)? What are the building
blocks you might suggest for the solution?

Thanks for your time and consideration!

Jan 30 '06 #3
Looks a bit vague.

IMO your best bet would be to give this a try (should be quite easy) and ask
for specific questions for possible enhancements if needed (essentially
depending on the response time you have given the amount of data you search
in)...

--
Patrice

"Smithers" <A@B.COM> a écrit dans le message de
news:%2****************@TK2MSFTNGP10.phx.gbl...
I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar; one
for LastName, another for FirstName, and one for CustomerID. When the user
starts typing into any of these textboxes I would like to pop up another
form that shows the user a dynamic list of the closest matches. The user can then use the up- and down-arrow keys to select a customer from that pop up
form.

To see an example of similar ("close-but-not-quite") functionality, go to
http://www.thebusco.com/ and in the upper left-hand corner there is a
textbox with 'Enter Part Search Here'. Start typing 'air vent cover' to see the behaviour in question. Yes, it's a Web application and I'm doing a
Windows Forms app, but it shows you the general idea of what I'm trying to
accomplish with Windows Forms.

Please note that I am familiar with the new 2.0 features: AutoCompleteMode, AutoCompleteSource, and AutoCompleteCustomSource.

But those won't work for my situation because I'm *not* looking to simply
populate a textbox or a combo box from the list.

What I am needing to do is let the user select the customer for which info
is to appear in the currently active MDI form (and not only the control into which they are typing). The idea is that the user starts typing into any one of the 3 textboxes; as they type - the pop up window appears and shows the
closest matches. The user then hits the down arrow key a few times to select the desired match, then hits Enter to (1) close the popup window, and (2)
trigger logic that shows the selected customer's info in the currently
active MDI form.

Note that I want to pop up another window [for the closest matches] so that I can show the user many property values for the possible matches (and not
simply show them a list of names similar to the one they are searching, for example).

What do you see as the biggest challenges in accomplishing this dynamic
search capability (and reasonable solutions)? What are the building blocks
you might suggest for the solution?

Thanks for your time and consideration!

Jan 30 '06 #4
Smithers wrote:
Come on Frank. I'm not into flaming and I won't do it now... though tempted
:-)
I hear you, you don't want a half-baked solution. If that's the case
there is no substitute for coding it up the hard way. Put a small
listbox beneath the textbox and repopulate as needed based on the user
input.

If I am not mistaken you want autocomplete as coded by Google here:
http://www.google.com/webhp?complete=1&hl=en


"Frank Rizzo" <no****@nospam.com> wrote in message
news:OR**************@TK2MSFTNGP12.phx.gbl...
If I might suggest an ugly solution...feel free to flame.

Why not populate a combobox dropdown with all your lookup data.
Then upon focus event, drop down the combobox and let the user type
whatever. The combobox will go to the matching item.

Regards.

Smithers wrote:
I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar; one
for LastName, another for FirstName, and one for CustomerID. When the
user starts typing into any of these textboxes I would like to pop up
another form that shows the user a dynamic list of the closest matches.
The user can then use the up- and down-arrow keys to select a customer
from that pop up form.

To see an example of similar ("close-but-not-quite") functionality, go to
http://www.thebusco.com/ and in the upper left-hand corner there is a
textbox with 'Enter Part Search Here'. Start typing 'air vent cover' to
see the behaviour in question. Yes, it's a Web application and I'm doing
a Windows Forms app, but it shows you the general idea of what I'm trying
to accomplish with Windows Forms.

Please note that I am familiar with the new 2.0 features:
AutoCompleteMode, AutoCompleteSource, and AutoCompleteCustomSource.

But those won't work for my situation because I'm *not* looking to simply
populate a textbox or a combo box from the list.

What I am needing to do is let the user select the customer for which
info is to appear in the currently active MDI form (and not only the
control into which they are typing). The idea is that the user starts
typing into any one of the 3 textboxes; as they type - the pop up window
appears and shows the closest matches. The user then hits the down arrow
key a few times to select the desired match, then hits Enter to (1) close
the popup window, and (2) trigger logic that shows the selected
customer's info in the currently active MDI form.

Note that I want to pop up another window [for the closest matches] so
that I can show the user many property values for the possible matches
(and not simply show them a list of names similar to the one they are
searching, for example).

What do you see as the biggest challenges in accomplishing this dynamic
search capability (and reasonable solutions)? What are the building
blocks you might suggest for the solution?

Thanks for your time and consideration!


Jan 30 '06 #5
<< If that's the case there is no substitute for coding it up the hard
way.>>

Right! I'm happy to do that. Like Patrice said perhaps my question is too
vague as is. Guess I was hoping someone would have done something similar
and would be in a position to tell me the building blocks that worked for
them. I could come up with my own and it looks like I'll be doing that. But
before reinventing the wheel...

-S

"Frank Rizzo" <no**@none.com> wrote in message
news:ev**************@TK2MSFTNGP14.phx.gbl...
Smithers wrote:
Come on Frank. I'm not into flaming and I won't do it now... though
tempted :-)


I hear you, you don't want a half-baked solution. If that's the case
there is no substitute for coding it up the hard way. Put a small listbox
beneath the textbox and repopulate as needed based on the user input.

If I am not mistaken you want autocomplete as coded by Google here:
http://www.google.com/webhp?complete=1&hl=en


"Frank Rizzo" <no****@nospam.com> wrote in message
news:OR**************@TK2MSFTNGP12.phx.gbl...
If I might suggest an ugly solution...feel free to flame.

Why not populate a combobox dropdown with all your lookup data.
Then upon focus event, drop down the combobox and let the user type
whatever. The combobox will go to the matching item.

Regards.

Smithers wrote:
I am looking to implement a search feature into a Windows Forms MDI
application. Specifically I plan to embed 3 textboxes into a toolbar;
one for LastName, another for FirstName, and one for CustomerID. When
the user starts typing into any of these textboxes I would like to pop
up another form that shows the user a dynamic list of the closest
matches. The user can then use the up- and down-arrow keys to select a
customer from that pop up form.

To see an example of similar ("close-but-not-quite") functionality, go
to http://www.thebusco.com/ and in the upper left-hand corner there is
a textbox with 'Enter Part Search Here'. Start typing 'air vent cover'
to see the behaviour in question. Yes, it's a Web application and I'm
doing a Windows Forms app, but it shows you the general idea of what
I'm trying to accomplish with Windows Forms.

Please note that I am familiar with the new 2.0 features:
AutoCompleteMode, AutoCompleteSource, and AutoCompleteCustomSource.

But those won't work for my situation because I'm *not* looking to
simply populate a textbox or a combo box from the list.

What I am needing to do is let the user select the customer for which
info is to appear in the currently active MDI form (and not only the
control into which they are typing). The idea is that the user starts
typing into any one of the 3 textboxes; as they type - the pop up
window appears and shows the closest matches. The user then hits the
down arrow key a few times to select the desired match, then hits Enter
to (1) close the popup window, and (2) trigger logic that shows the
selected customer's info in the currently active MDI form.

Note that I want to pop up another window [for the closest matches] so
that I can show the user many property values for the possible matches
(and not simply show them a list of names similar to the one they are
searching, for example).

What do you see as the biggest challenges in accomplishing this dynamic
search capability (and reasonable solutions)? What are the building
blocks you might suggest for the solution?

Thanks for your time and consideration!


Jan 30 '06 #6
I am actually interested in creating something just like what you have
described.
Have you come up with a solution for this?

Feb 27 '06 #7

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

Similar topics

5
by: Brakeshoe | last post by:
I would like to find out how to turn on the Auto Complete variable names feature while editing source code in Visual Studio. It seems to appear on intermittantly, and when it does the variable...
0
by: george d lake | last post by:
Hi, Is there a way to have a "Auto Complete" textbox or a "editable" dropdown? Here is my problem. I have a screen that need to have a list of 800+ employees. To be a dropdown, that could be a...
8
by: John | last post by:
Hi, I am developing an application using VB.Net and hope that the textbox can process features which are similar to auto-complete features in Window. For example, when user types "ap" in a...
4
by: Benny | last post by:
Hi, We are planning to improve the present search (Product DB search). Is there any way on ASP script to make an auto complete text box, loaded with the product names (like in google suggest). I...
2
by: chenggn | last post by:
AutoAssist is a AJAX auto complete component that writing AJAX features like Google Suggest easy for developers who don't speak browser quirks as a second language. (http://capxous.com/) For a...
1
by: Deepan Chakravarthy | last post by:
Hi, I am using fedora core 5. I would like to have auto complete in python prompt and history. How do i get it enabled ? i have .pystart file and .pyhist file setup. thanks Deepan...
1
by: glasssd | last post by:
Hi, I was hoping someone might have some ideas on how I can hack around a problem I'm having with the auto-complete feature of the ComboBox. I have a data entry application that uses a pair of...
3
by: TS | last post by:
I am using IE 7. I have a website running on my local machine (localhost) and auto complete doesnt work for any of the textboxes, but going to web sites on the internet does support this so i know...
1
by: pavanip | last post by:
hi, I have an application that will find Firefox browing history, Auto complete datalist, Temp offline files and Find Computer list. please give me some idea on Auto complete datalist, Temp offline...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.