I'm trying to set up a form so the user doesn't have to use a mouse at all if they do not want to. When they want to move to a different control, I set up captions with an "&" in the names to serve as hot keys.
Now I'm trying to set up a list box. I used ListBoxName.Set focus and ListBoxName.Sel ect(0)=True to get me to the top of the list. I would like to allow the user to simply use the arrow keys (or any appropriate keys) to move down the list and then hit the space bar, or the enter key to make their choice.
Problem is, when I try the down arrow key, the listbox takes that as a selection. Does anyone know how I can set up this list box to work without a mouse?
Thanks,
Adam
Now I'm trying to set up a list box. I used ListBoxName.Set focus and ListBoxName.Sel ect(0)=True to get me to the top of the list. I would like to allow the user to simply use the arrow keys (or any appropriate keys) to move down the list and then hit the space bar, or the enter key to make their choice.
Problem is, when I try the down arrow key, the listbox takes that as a selection. Does anyone know how I can set up this list box to work without a mouse?
Thanks,
Adam
Comment