In response to pkmnfrk, I must keep the current cursor position and I must select all the remaining matching text while the user is typing. It has the effect to complete the text until the combobox shows the item that the user wants. The user is also free to use the dropdown list to choose an item, with the first matching one selected.
Example :
|
L|andry, Bernard
Le|brun, Antoine
Lem|aire, Alphonse
Lemi|eux, Franc
Lemir|e, Claude
Lemire|, Claude
Lemire,| Claude
Lemire, |Claude
Lemire, J|ean
Where | represents the cursor while the user is typing in the combobox.
Main Topics
Browse All Topics





by: pkmnfrkPosted on 2003-04-01 at 18:00:30ID: 8250348
If you set SelStart to 1 and SelLength to 0 then the cursor would move to the begining of the box, although if the user is typing, it'll also go to the begining.