-
Problem with listbox
I m using a listbox for help on the item, the data in the
listbox is comming from the table the sorted property
of listbox is true after feeling the data in the listbox the
focus is into the listbox here when in the listbox
i press any 3 keys the cursor should go to on that list row whose
first 3 alphbates matche with pressed alphabates
it is working for first time second time it doesnt work
what should i do to work it
-
Re: Problem with listbox
What you are doing should work.
Maybe your form is corrupted.
What's the row source for the ListBox?
-
Re: Problem with listbox
When you say it works for the first time but not the second, are you refering
to the key presses for an autofind listbox? So you are trying to select
entry "abc" and you type "a" it selects the first items that starts with an "a"
but when you press "b" it goest to the first items that starts with an "b"
instead of going to the first items that starts with an "ab"?
It should only work for the first key pressed and not for the second or third. :(
-
Re: Problem with listbox
no i m not reffering to autofind listbox i have just kept sorted property to true
if my listbox is having 3 items list "abc","efg","hij" when i press first time abc it goes to that row then when i press efg it goes to the second row but when again i press abc it doesnt go