Menu Builder Help Please

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Menu Builder Help Please

Post by bidgeeman » Wed Sep 30, 2009 3:30 am

Hello.

I have a stack with a dark background and used Revs Menu builder to create a help menu but with the dark background colour the Help menu cannot be seen as the font is in black. I tried adjusting the Menu script with:

Set textColor to 255,255,255 but can't get it to work

Can anyone please push me in the right direction?

Many thanks
Bidge

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Wed Sep 30, 2009 8:22 am

Hi Bidge,

"the textcolor" is the property of any OBJECT!
Since you did not specify one, your scripts does nothing :-)

Something like:
...
set the textcolor of btn "Help" of grp "you menu group here" to 255,255,255
...
should do the trick.


Best

Klaus

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Sep 30, 2009 8:33 am

Hi Bidge,

Select the group, open its property inspector, go to the colours and patterns pane in the property inspector, and set the foregroundColor to white. If you haven't defined any colours for the buttons in the menu group yet, this should be sufficient.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bidgeeman
Posts: 495
Joined: Wed Feb 21, 2007 7:58 am

Post by bidgeeman » Wed Sep 30, 2009 9:14 am

Hehehe.

Oh dear sorry for posting a problem so simple to solve. :oops:

I had no Idea the actual menu group was accessible via the property inspector. I was trying to attack it from within the actual menu builder dialogue box using scripts.

Many thanks again Klaus and Mark ;)

Cheers
Bidge

Post Reply