Forum Discussion

1ms's avatar
1ms
Visitor
11 years ago

How to disable the roGridScreen column count

Is there a way to turn off the column count in the roGridScreen? We've checked the SDK docs but do not see any information about it.

We tried to hide it using theme.CounterTextLeft, etc, but it doesn't work.

10 Replies

  • There is no way to hide it (that I know of). You can however, set it to the background color of your theme, which is probably the best you can do. You'll see some ghosting when you scroll vertically.


    app = CreateObject("roAppManager")
    app.SetThemeAttribute("CounterTextRight", bkgColor)
    app.SetThemeAttribute("CounterTextLeft", bkgColor)
    app.SetThemeAttribute("CounterSeparator", bkgColor)


    http://sdkdocs.roku.com/display/sdkdoc/roAppManager
  • Thanks TheEndless.

    SetCounterVisible(False) works like a charm!
  • Another undocumented feature 🙂 How did you come across this one?

    "TheEndless" wrote:
    Try roGridScreen.SetCounterVisible(False).
  • Is this method officially supported with the current firmwares? Since it's not documented in the ifGridScreen interface it makes me wonder if there are possibly issues with it?

    @Roku Can we get confirmation it is fine to use this method? Also, when was it introduced firmware wise?

    TheEndless if you happen to know any of these details that would be helpful too.

    Thanks
  • "MatroxRT" wrote:
    Is this method officially supported with the current firmwares? Since it's not documented in the ifGridScreen interface it makes me wonder if there are possibly issues with it?

    @Roku Can we get confirmation it is fine to use this method? Also, when was it introduced firmware wise?

    @TheEndless if you happen to know any of these details that would be helpful too.

    Thanks

    I was informed of it at least two years ago while working on a channel that required it. That channel and at least one other that I know of uses it, so I don't think it would just go away. As for it not being documented, I suspect that's just an oversight. I wouldn't be surprised if RokuKC popped in shortly to tell us that it has been added.. 😛
  • RokuKC's avatar
    RokuKC
    Roku Employee
    "TheEndless" wrote:
    ...
    As for it not being documented, I suspect that's just an oversight.
    ...


    Ask and ye shall receive. 🙂 In this case anyway. 🙂