Tabbed Buttons going blank

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Tabbed Buttons going blank

Post by richmond62 » Fri May 13, 2022 9:50 am

As you can see, this is a load of rubbish:
-
SShot 2022-05-13 at 11.45.08.png
SShot 2022-05-13 at 11.45.08.png (10.05 KiB) Viewed 5551 times
-
As the button that refers to the card has no visible text:

Code: Select all

on menuPick KARD
   go to card KARD
end menuPick
But that is because the backGroundFill of the tabbed button has been set to white:
-
SShot 2022-05-13 at 11.47.44.png
-
Why the F-F that should affect the tab escapes me completely.
-
SShot 2022-05-13 at 11.49.28.png
-
All a bit silly really as just a bit counter-intuitive.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Tabbed Buttons going blank

Post by dunbarx » Fri May 13, 2022 2:27 pm

Richmond.

You may have to play around with the "backColor" and the "textColor" of a tab panel a bit. Maybe the confusion is what those properties actually refer to in that sort of compound control.

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Tabbed Buttons going blank

Post by richmond62 » Fri May 13, 2022 2:48 pm

Maybe the confusion is what those properties actually refer to in that sort of compound control.
Very much so: a far more experienced programmer and LiveCoder fell foul of this this week.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Tabbed Buttons going blank

Post by richmond62 » Fri May 13, 2022 2:57 pm

Does this behave differently cross-platform?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Tabbed Buttons going blank

Post by jacque » Fri May 13, 2022 5:45 pm

There was/is a bug report about this, I think it started in Catalina. As far as I know it's only Mac but I haven't tried it on Windows. I vaguely recall it was fixed but I can't swear to it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Tabbed Buttons going blank

Post by richmond62 » Fri May 13, 2022 6:07 pm

SShot 2022-05-13 at 20.05.41.png
SShot 2022-05-13 at 20.05.41.png (8.97 KiB) Viewed 5477 times
-
I would be most grateful if you could run this on Windows and post a snapshot here.
Attachments
Tab Ab-Dab.livecode.zip
Stack.
(863 Bytes) Downloaded 84 times

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Tabbed Buttons going blank

Post by stam » Sat May 14, 2022 1:35 pm

I’m pretty sure it’s a Mac-only issue. On windows I believe it inherits the colour from its container or some such.

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Tabbed Buttons going blank

Post by SparkOut » Sat May 14, 2022 4:52 pm

Not sure what I'm supposed to check, but just on opening the stack in 9.6.7 on Windows I get:
TabControlOnWindows.png
TabControlOnWindows.png (5.25 KiB) Viewed 5351 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Tabbed Buttons going blank

Post by richmond62 » Sat May 14, 2022 4:56 pm

You have checked things: thank you.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Tabbed Buttons going blank

Post by mwieder » Sun May 15, 2022 6:11 am

Yep - OSX only, and for some reason, by design.
Set the Wayback Machine for 2016:

https://quality.livecode.com/show_bug.cgi?id=17219

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Tabbed Buttons going blank

Post by richmond62 » Sun May 15, 2022 10:58 am

Err . . . BRAVE :
-
SShot 2022-05-15 at 12.57.11.png
-
SAFARI:
-
SShot 2022-05-15 at 12.59.29.png
-
Something that needs sorting out.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Tabbed Buttons going blank

Post by mwieder » Sun May 15, 2022 5:15 pm

no worries though. The certificate expired a couple of days ago. I'm sure Robin will sort things out.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Tabbed Buttons going blank

Post by richmond62 » Wed Nov 08, 2023 9:30 am

All rather a big pity that Fraser Gordon left the ship.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”