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: 
alexboyer
Visitor

Change default button selected

Say, for example, I have these two:

m.screen.AddButton(0,"Play from Beginning")
m.screen.AddButton(1,"Resume")


How would I make "Resume" selected by default without changing the order in which they appear?
0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: Change default button selected

m.screen.SetFocusedMenuItem(1)
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
alexboyer
Visitor

Re: Change default button selected

Sweet, thank you!
0 Kudos