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: 
btpoole
Channel Surfer

Screen Keyboard

Is there a way to create only the number part of the keyboard on the screen? I have app where user can enter info which will be only numbers, currently large full keyboard is being used but would like to only have number pad come up.
Thanks
0 Kudos
2 REPLIES 2
hugetv
Visitor

Re: Screen Keyboard

    port = CreateObject("roMessagePort")
screen = CreateObject("roPinEntryDialog")
screen.SetMessagePort(port)
screen.SetTitle("Please enter your PIN to access")
screen.SetNumPinEntryFields(4)
screen.AddButton(1, "OK")
screen.AddButton(2, "CANCEL")
screen.Show()
Our system http://www.rokumanager.com
0 Kudos
btpoole
Channel Surfer

Re: Screen Keyboard

Thank you for the help. Exactly what I needed.
0 Kudos