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: Klaus, FourthWorld, heatherlaine, kevinmiller

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

Tabbed Buttons going blank

Post by richmond62 »

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 11272 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: 10507
Joined: Wed May 06, 2009 2:28 pm

Re: Tabbed Buttons going blank

Post by dunbarx »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: Tabbed Buttons going blank

Post by richmond62 »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: Tabbed Buttons going blank

Post by richmond62 »

Does this behave differently cross-platform?
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Tabbed Buttons going blank

Post by jacque »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: Tabbed Buttons going blank

Post by richmond62 »

SShot 2022-05-13 at 20.05.41.png
SShot 2022-05-13 at 20.05.41.png (8.97 KiB) Viewed 11198 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 270 times
stam
Posts: 3214
Joined: Sun Jun 04, 2006 9:39 pm

Re: Tabbed Buttons going blank

Post by stam »

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: 2987
Joined: Sun Sep 23, 2007 4:58 pm

Re: Tabbed Buttons going blank

Post by SparkOut »

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 11072 times
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: Tabbed Buttons going blank

Post by richmond62 »

You have checked things: thank you.
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Tabbed Buttons going blank

Post by mwieder »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: Tabbed Buttons going blank

Post by richmond62 »

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: 3582
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Tabbed Buttons going blank

Post by mwieder »

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: 10428
Joined: Fri Feb 19, 2010 10:17 am

Re: Tabbed Buttons going blank

Post by richmond62 »

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