rjdjohnston
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2015
01:14 AM
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.
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
2 REPLIES 2

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2015
12:58 PM
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
rjdjohnston
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2015
01:59 PM
Re: Grid screen SetDescriptionVisible to false won't work
That does it! Thank you
My channels: Amiri King, Donnie Baker, Worldview Weekend - Twitter @rjdjohnston