How to Navigate with keyboard in a listbox after the rowsource is changed
Posted on 2012-09-02
I have a listbox with 3 items for ex : Computers, lamps, Accessories.
when i click on one item, the list box rowsource change and become the sub category of the first list ex : For computer when i click the list become Screens, Hard drives, memories.
Everything works fine except that i want to use the keyboard to navigate between the list and when the form loads , the first list works fine (i may navigate with the arrows of my keybord or when selecting the first letter of the category) but when the second list is generated i may put the focus on the first item( with vba) but the keyboard is not more active before i click with my mouse on one item.
In fact i see on the first list by default a doted border around the black underground of the selected item, but not with the second list (until i click with my mouse).
How to solve the problem ?