chernandez2000
Programmer
Hi all,
I am trying to extend the normal way the DBCombo box works as follows:
The DBCombo is currently attached to a field in a database, so it is populated with, for example, last names. I am using dblExtendedMatching under the Match Entry property. So the names automatically complete. Thats cool. But I want to highlight the part of the name that is autocompleted, and also if the user enters a letter that isnt there, then no longer highlight anything.
So if "Smith" is a last name in the database... as the user types "S" then "mith" would appear and be highlighted... then if the next letter the user enters is "a", then since there is no "Sa..." names in the database, the user would see "Sa" without any highlights.
Excuse the long post, but I wanted to explain it. I have a feeling Windows API calls will be involved.
Anyone point me in the right direction?
Thanks!
Conrad
I am trying to extend the normal way the DBCombo box works as follows:
The DBCombo is currently attached to a field in a database, so it is populated with, for example, last names. I am using dblExtendedMatching under the Match Entry property. So the names automatically complete. Thats cool. But I want to highlight the part of the name that is autocompleted, and also if the user enters a letter that isnt there, then no longer highlight anything.
So if "Smith" is a last name in the database... as the user types "S" then "mith" would appear and be highlighted... then if the next letter the user enters is "a", then since there is no "Sa..." names in the database, the user would see "Sa" without any highlights.
Excuse the long post, but I wanted to explain it. I have a feeling Windows API calls will be involved.
Anyone point me in the right direction?
Thanks!
Conrad