Forum Discussion

ioan's avatar
ioan
Roku Guru
15 years ago

List

Is there a way to create a list like this.


The user should be able to go up and down on the list and then select one item.
If this is not possible, what would be a good solution for this?

A small example will be very appreciated.

TIA.

3 Replies

  • destruk's avatar
    destruk
    Streaming Star
    You are limited to 5 user-defined buttons on a springboard screen, and your list has more than 5 items, so I think you would need to use roImageCanvas to do that. I have no examples in my stockpile to do what you want.
  • jbrave's avatar
    jbrave
    Channel Surfer
    you could create this using roimagecanvas, but you have to build the whole interface yourself, it is not built in.

    - Joel
  • I have something that can work similar to this that I built for the menus in Reversi!, and meant to add to librokudev but never got around to it. It pops up a customizable dialog box that displays toggle or selection entries, and returns the values when closed. Reversi! has a good example of this (sorry, Reversi is $0.99, and I don't have a sample for it besides that right now). The library provides customizable border size and color, window color, window size, background shading/coloring, per-item custom font attributes, and more.

    If people are actually interested, I'll devote some time to documenting it so I can put it into librokudev (with all those options, it would be a real pain to try to figure out how to use without some good docs).

    For the new people in the forum, if you haven't already, you may want to check out librokudev: https://github.com/rokudev/librokudev
    It's a community supported (mostly GandK at this point) library of (hopefully) useful roku utilities in BrightScript.