I assume you're entering your keystrokes in the listbox? If so, remember that the incremental search happens starting at the location where your selection is. So, when you start up, your selection is '1'. If you then type a '1', your selection will jump down to the next '1', which is the first digit in the '10'. If you then type a '2', it won't jump backwards up the the '2', it will jump forward to the '20'.
I don't know a good way to do what you're trying to do without a lot of program code to trap keystrokes in the listbox.
Alan
>hi,
>still if i press at mylist 1 i get the same 10 another press i get 11...
>
>
>>Mohammed,
>>
>>IN Text1.GotFocus put
>>
TEXTBOX::GotFocus
>>
>>and set the property SelectOnEntry = .t.