BrightSign Object Reference Manual (FW 5.1) User Manual
Page 228

220
Example:
Note: For firmware versions 4.7.x and above, if no alpha value is specified when
roTextWidget.SetForegroundColor()
called, the text widget area will appear blank.
u=CreateObject("roUrlTransfer")
u.SetUrl(
u.GetToFile("tmp:/rss.xml")
r=CreateObject("roRssParser")
r.ParseFile("tmp:/rss.xml")
EnableZoneSupport(1)
b=CreateObject("roRectangle", 0, 668, 1024, 100)
t=CreateObject("roTextWidget", b, 3, 2, 2)
t.SetForegroundColor(&hFFD0D0D0)
t.Show()
a = r.GetNextArticle()
while type(a) = "roRssArticle"
t.PushString(a.GetDescription())
sleep(1000)
a = r.GetNextArticle()
end while
while true
sleep(1000)
end while
This manual is related to the following products: