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: 
rjdjohnston
Binge Watcher

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 2
TheEndless
Channel Surfer

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
Binge Watcher

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