G
Guest
I have been searching for several hours in the newsgroups now and am not finding anything on what I want to try to do, so I am hoping someone can help
I have a WINDOWS form that has a combo box. this combo box has already been populated by a database. I would like to have the program fill in the main combo box line with the closest matching value as the user types. I have found things that say to change the combo boxes attributes to dropped down or to set it as simple. The problem is that is not what I am trying to do. I want it to do the following:
if the list is:
smtp
snmp
smpp
snnm
then if the user types 's' I want the line to show smtp. then if they put in a 'n' so they have 'sn' it will change to snmp, it they type a 3rd character 'n' to have 'snn' the box fills to snnm.
That is what I am trying to do. the 2 attribute changes I mentioned before, do not do this. Please if anyone has any ideas it would be appreciated. Note, I am using C#. Thanks.
I have a WINDOWS form that has a combo box. this combo box has already been populated by a database. I would like to have the program fill in the main combo box line with the closest matching value as the user types. I have found things that say to change the combo boxes attributes to dropped down or to set it as simple. The problem is that is not what I am trying to do. I want it to do the following:
if the list is:
smtp
snmp
smpp
snnm
then if the user types 's' I want the line to show smtp. then if they put in a 'n' so they have 'sn' it will change to snmp, it they type a 3rd character 'n' to have 'snn' the box fills to snnm.
That is what I am trying to do. the 2 attribute changes I mentioned before, do not do this. Please if anyone has any ideas it would be appreciated. Note, I am using C#. Thanks.