Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sudo97
Visitor

Sliding Panels Usage

Hello, has anyone the same problem as me?
Setting goBackCount field to a value greater than 1 causes the PanelSet to move the focus back that many panels when the user presses the left arrow button, sliding the Panels as needed to make sure the panel that has the focus ends up onscreen.

this field doesn't work, but there are few cases where I really need it
0 Kudos
2 REPLIES 2
sudo97
Visitor

Re: Sliding Panels Usage

Here are few examples:
First I tried to do it from Scene


m.focusedPanel.goBackCount = 2 'tried 2, 3, 100, whatever


then I created new panel just for testing, it contained only one button, and pressing this button caused


m.top.goBackCount = 2


and result is still nothing
0 Kudos
vrihlea
Visitor

Re: Sliding Panels Usage

for "future generations"... try setting "goBackCount" on the parent panel. The problem with it is, you still have to manage the focus manually, and setting it higher than 2 doesn't seem to do anything

have fun..
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.