by James Bott » Fri May 30, 2008 2:22 pm
Otto,
Yes, we are only talking about the default style DROPDOWNLIST and there are bugs in the search in DROPDOWN style.
Marco,
I found an old version of TCombobox and I find that it does look exactly the same as the new version after typing one character. The found item is shown in the field.
In the old style, if another character is typed (different than the first one) then a new match is found that starts with the new character.
In the new style, if another character is typed (the same or dfferent than the first one) then a new match is found that has the same first character and the new character as the second letter in the item. This allows you to find a match very quickly even in very large lists.
In the old style, if the user types in the first character and the item shown is not the one they want, then they type in the SAME character again and a second match starting with that character is found. As I said in a previous message, if there are lots of items starting with the same character the user will have to type in lots of characters to get the one they want. With incremental searching, a match is usually found with three or less characters even in lists containing hundreds of items.
Neither the old or the new Combobox automatically shows the dropdown list.
Another issue is that if you are using both comboboxes and dbcomboboxes in the same application, then they should work the same (visually they are the same so users can't tell the difference). DBcomboboxes are specifically designed to handle large lists and they would be unusable with the older search method.
I do note that other apps by Microsoft don't use incremental searching but they also all have very short lists (ten or so items). If your app has nothing but very short lists then the old search method is quite useable.
Perhaps a search style flag would satisfy eveyone. Then the question is, which style to use as the default?
James