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: 

Customising components

Hey i am new at roku development. I need help in developing sliding control in a small part of screen.Please check selected part of below image.I was thinking of using sliding panel if someone have a better idea or any example ?
https://drive.google.com/open?id=0B-JfO ... V80ckpEeEE
0 Kudos
1 REPLY 1
ioan
Roku Guru

Re: Customising components

You could use onKeyEvent to change the label:

function onKeyEvent(key as String, press as Boolean) as Boolean
  handled = false  
  if press then
    if (key = "right") then
   ' here goes your code 
        handled = true
    else if (key = "left") then
   ' here goes your code 
        handled = true
    end if
  end if
  return handled
end function

https://github.com/e1ioan/
http://rokucam.com
0 Kudos