cyprus106
Programmer
- Apr 30, 2001
- 654
I would like to allow my user to type into an edit box, and while they're typing (in the OnChange event, in other words,) in a list box below, certain keywords would show up coresponding to what the user types.
for example:
if the user types 'A',
'APPLE', 'ANT', 'ALL', and ALWAYS would show up.
then, if the user tyles 'AL',
'ALL' and 'ALWAYS' would be left, and the other two are removed.
and finally, when the user enters 'ALW',
only 'ALWAYS' would remain.
I know the general theory behind going about this, but I can't get any specific code to work to my advantage. Does anyone know any means to do this, or any place that has how to do this?
Thanks, Cyprus
for example:
if the user types 'A',
'APPLE', 'ANT', 'ALL', and ALWAYS would show up.
then, if the user tyles 'AL',
'ALL' and 'ALWAYS' would be left, and the other two are removed.
and finally, when the user enters 'ALW',
only 'ALWAYS' would remain.
I know the general theory behind going about this, but I can't get any specific code to work to my advantage. Does anyone know any means to do this, or any place that has how to do this?
Thanks, Cyprus