Set Tab Menu Background Color?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Set Tab Menu Background Color?
Hi all,
Sorry to bother you all with some trivial but I would like to change the color of the background in a tab menu:
I've set every available fill color to red and the color doesn't change. Can this be done?
Thank you,
Jon
Sorry to bother you all with some trivial but I would like to change the color of the background in a tab menu:
I've set every available fill color to red and the color doesn't change. Can this be done?
Thank you,
Jon
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: Set Tab Menu Background Color?
This is revolting:
- -
I grouped the TAB thing and set the backGroundColor of the group.
- -
I grouped the TAB thing and set the backGroundColor of the group.
Re: Set Tab Menu Background Color?
Hi.
I never use tab panels, and, hmmm, nothing seems to affect the overall backColor.
This is just a button style, but it is made of several other native controls. It may be that you have to overlay a rectangle graphic, set the backColor of that, and set the blendLevel to something you like.
Craig
I never use tab panels, and, hmmm, nothing seems to affect the overall backColor.
This is just a button style, but it is made of several other native controls. It may be that you have to overlay a rectangle graphic, set the backColor of that, and set the blendLevel to something you like.
Craig
Re: Set Tab Menu Background Color?
Richmond.
Revolting.
The compound object that is a tab panel just likely does not have a backColor property, even though no error is thrown if you try to set it. May be possible to hack the IDE...
Craig
Revolting.
The compound object that is a tab panel just likely does not have a backColor property, even though no error is thrown if you try to set it. May be possible to hack the IDE...
Craig
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: Set Tab Menu Background Color?
Revolting.
Frankly you'd be better to "roll your own".
Frankly you'd be better to "roll your own".
Re: Set Tab Menu Background Color?
The TAB button, like other controls, is supplied by the underlying OS,
so we cannot modify them, we have to take what we get, or roll our own,
as others already mentioned.
so we cannot modify them, we have to take what we get, or roll our own,
as others already mentioned.

Re: Set Tab Menu Background Color?
No big deal. I just added rounded rectangle graphic underneath.
Thanks everyone!
Jon
Thanks everyone!
Jon

Re: Set Tab Menu Background Color?
That's similar to how I deal with it as well. Note that this was a deliberate change in LC8 (some 5 years ago) and only affects OSX.
https://quality.livecode.com/show_bug.cgi?id=17219
https://quality.livecode.com/show_bug.cgi?id=17219
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev