Your Digital Media Has Never Looked So Good

 
rsromeo
Topic Author
Posts: 110
Joined: Wed Jun 02, 2010 4:25 pm

HOW TO SET DEFAULT CATEGORY TO BE SELECTED

Wed Jun 02, 2010 4:32 pm

I am new to Roku development and have successfully created my own private channel by performing surgery on the videoplayer example that comes with the SDK. My categories show up fine except I don't know how to control which category is the first one selected or the default when a viewer opens my channel. It seems to always select one of the categories in the middle but I want the first category to always be selected as the default so it starts them at the beginning of the list. Does anyone know how I can accomplish this? Any input would be greatly appreciated. Thanks.
 
bhindman
Posts: 72
Joined: Thu Mar 04, 2010 8:40 pm
Contact:

Re: HOW TO SET DEFAULT CATEGORY TO BE SELECTED

Wed Jun 02, 2010 7:10 pm

screen.SetFocusedListItem(0)

0 being the first item in the array
www.sunimi.com
 
rsromeo
Topic Author
Posts: 110
Joined: Wed Jun 02, 2010 4:25 pm

Re: HOW TO SET DEFAULT CATEGORY TO BE SELECTED

Thu Jun 03, 2010 10:17 am

Thanks bhindman! :D

Who is online

Users browsing this forum: No registered users and 3 guests