lhgrubbs
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2011
07:03 PM
Button Behavior
When checking out the registration demo there is a "Back" button. That works fine if you are in a sub menu, going up one level is ok. But if the doRegistration is the first thing you do then the "Back" button takes you out of the channel. Where's the documentation that gives the default button behavior and reserved words? Might there just be a few like "Go", "Continue", "Exit", "Home", "Back"....
2 REPLIES 2


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2011
07:20 PM
Re: Button Behavior
There are no reserved button titles or default behaviors. You can label a button however you want and handle its isButtonPressed() event however you want.
It sounds like the channel is exiting because you're closing all of its screens. That's normal behavior. One solution is to open a blank roPosterScreen at launch as a facade which stays open beneath all your other screens to prevent the channel from exiting before you want it to.
It sounds like the channel is exiting because you're closing all of its screens. That's normal behavior. One solution is to open a blank roPosterScreen at launch as a facade which stays open beneath all your other screens to prevent the channel from exiting before you want it to.
lhgrubbs
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2011
04:51 AM
Re: Button Behavior
Very insightful Chris! Thank you.