You can try setting AutoComplete to False - it was introduced in D6. I do not have much faith in that piece of Borland code, so I wrote my own auto complete that works a bit like how auto complete works in Excel. The advantage is the code works for D5 as well.
Basically, you start off with a cdDropDown style combobox, handle the WM_KEYDOWN and WM_CHAR messages, and find and select the first item in the list that matches what the user has typped so far - this will put the selected item into the . You then select the characters in the edit box that the user did not type, so that the next char from the keyboard will override them. Email me off the list if you are interested in the source. ----- Original Message ----- From: "Mark Howard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 20, 2003 4:40 PM Subject: [DUG] Problem found with D7 ComboBox > I have tracked down a problem with The D7 version of TComboBox. > > I originally thought that I must have inadvertently changed something in my code. > > I now have a single copy of the source code of my app that can be compiled with > either D7 or D5. > > I have a ComboBox (style csDropDown) with a large populated list. > > When running in D5 I can key several letters into the edit box, with timing of up to a > second or more between keystrokes) and a progressive filter on the list will be built > and executed eg D and then DE and then DEL as I key each letter. > > THE SAME PROJECT when compiled in D7 will restart the filter with each > keystroke so the cursor is positioned in the list first at the D's than repositioned at > the E's and then at the L's > > Can anyone confirm that I'm not going nuts here? Is this a known problem? Is > there a fix? > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
