Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
sudo97
Level 7

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
sudo97
Level 7

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
Level 7

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