Hi,
MUI-Demo and my listviews do not allow scolling with arrow keys. The SimpleMail listviews do. Is it a version thing? How does one allow scrolling with arrow keys in a listview? Thanks.
NathanH
How to allow scrolling with arrow keys in a listview
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: How to allow scrolling with arrow keys in a listview
Have you tried the "Accelerator" class to bind key shortcuts?
I'm on registered MorphOS using FlowStudio.
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: How to allow scrolling with arrow keys in a listview
Whoops! I noticed too late that you're using MUI Royale instead of RapaGUI.
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How to allow scrolling with arrow keys in a listview
You need to set the listview as the window’s default object using Window.DefaultObject. Otherwise the listview needs to have keyboard focus for cursor key scrolling to work.
Re: How to allow scrolling with arrow keys in a listview
I didn't make myself clear. If I have three items in a listview that has room for twenty so that scrolling is unnecessary, the arrow keys do not scroll from item 1 to item 2 or item 2 to item 3 even if the listview has the focus.
NathanH
NathanH
Re: How to allow scrolling with arrow keys in a listview
Never mind, I tried to gain focus by clicking on the listview. It scrolls just fine once you tab to it.
NathanH
NathanH