Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
rjdjohnston
Level 7

Grid screen SetDescriptionVisible to false won't work

I went through the forums to see why this might be the case and none of the suggestions (placing farther down in the code) has worked. Can't get the description to hide for the life of me.

The code below is what I have now, any suggestions are greatly appreciated.


Function CreateShows() as integer

gridstyle = "two-row-flat-landscape-custom"

'set to go, time to get started
while gridstyle <> ""
print "starting grid style= ";gridstyle
screen = preShowGridScreen(gridstyle)
gridstyle = showGridScreen(screen)
end while

End Function

'************************************************************
'** Perform any startup/initialization stuff prior to
'** initially showing the screen.
'************************************************************
Function preShowGridScreen(style as string) As Object

m.port=CreateObject("roMessagePort")
screen = CreateObject("roGridScreen")
screen.SetMessagePort(m.port)
screen.SetGridStyle(style)
screen.SetDisplayMode("scale-to-fill")
screen.SetDescriptionVisible(false)

return screen

End Function
My channels: Amiri King, Donnie Baker, Worldview Weekend - Twitter @rjdjohnston
0 Kudos
2 Replies
TheEndless
Level 7

Re: Grid screen SetDescriptionVisible to false won't work

The only way I've been able to get it to work consistently is to call it once when initializing the screen, then again after calling Show() on the screen.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
rjdjohnston
Level 7

Re: Grid screen SetDescriptionVisible to false won't work

That does it! Thank you
My channels: Amiri King, Donnie Baker, Worldview Weekend - Twitter @rjdjohnston
0 Kudos