
Originally Posted by
crooper
Thanks! I'd like to figure out how to change the song text color on the main menu from light to dark with the touch of a button (to account for light or dark backgrounds). I tried it last night a bit but I don't understand the setvar or switchbutton commands yet. Give me time. :-) My computer science minor pays off in strange ways... lol.
A combination of SETVAR and BYVAR can accomplish what you're trying to do.
i.e.
Button
Code:
B....."BYVAR;daynightfont;SETVAR;daynightfont;1<<SETVAR;daynightfont;0"
Create two labels at the same location w/ the same information w/ different font color definitions.
Code:
L21,437,128,47,29,(day font definition),"BYVAR;daynightfont;TIME<<","LEFT"
L21,437,128,47,29,(night font definition),"BYVAR;daynightfont;<<TIME","LEFT"
.
Whenever you hit the button above, it'll switch the "daynightfont" variable b/w 0 and 1, thus setting one of the two labels above to appear.
Bookmarks