Page 1 of 1

Tabbed Buttons going blank

Posted: Fri May 13, 2022 9:50 am
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 9714 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.

Re: Tabbed Buttons going blank

Posted: Fri May 13, 2022 2:27 pm
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

Re: Tabbed Buttons going blank

Posted: Fri May 13, 2022 2:48 pm
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.

Re: Tabbed Buttons going blank

Posted: Fri May 13, 2022 2:57 pm
by richmond62
Does this behave differently cross-platform?

Re: Tabbed Buttons going blank

Posted: Fri May 13, 2022 5:45 pm
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.

Re: Tabbed Buttons going blank

Posted: Fri May 13, 2022 6:07 pm
by richmond62
SShot 2022-05-13 at 20.05.41.png
SShot 2022-05-13 at 20.05.41.png (8.97 KiB) Viewed 9640 times
-
I would be most grateful if you could run this on Windows and post a snapshot here.

Re: Tabbed Buttons going blank

Posted: Sat May 14, 2022 1:35 pm
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.

Re: Tabbed Buttons going blank

Posted: Sat May 14, 2022 4:52 pm
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 9514 times

Re: Tabbed Buttons going blank

Posted: Sat May 14, 2022 4:56 pm
by richmond62
You have checked things: thank you.

Re: Tabbed Buttons going blank

Posted: Sun May 15, 2022 6:11 am
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

Re: Tabbed Buttons going blank

Posted: Sun May 15, 2022 10:58 am
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.

Re: Tabbed Buttons going blank

Posted: Sun May 15, 2022 5:15 pm
by mwieder
no worries though. The certificate expired a couple of days ago. I'm sure Robin will sort things out.

Re: Tabbed Buttons going blank

Posted: Wed Nov 08, 2023 9:30 am
by richmond62
All rather a big pity that Fraser Gordon left the ship.