Set Transparent to False for the ContainerControl and the ContainerControl in the PagePanel
Is this an expected behavior or an issue? I’ve created a Feedback Case with a simple example Project.
<https://xojo.com/issue/51895>
We are forced to use Transparent = True for ContainerControls, which may lead to a degraded performance on Windows Systems.
BTW: If you take a Screenshot (Shift+CMD+4, move the Mouse over the Window, Press Space Key and the Mouse Key) on a Mac, the PNG shows a Transparent square where the black square is to see in the App.
Hi Sascha, the black box is shown on macOS only or also Windows? (Can’t test windows for now until tomorrow)
I did a test, and in #4 even if you set Transparent ON for the ContainerControl you get the black box on macOS. Only setting transparency for the ContainerControl in the PagePanel. A past version of Xojo show a white box instead of black, and I’m sure I didn’t change the BackColor for the ContainerControl.
Another workaround is to set the HasBackColor to True and use the color that you need.
I don’t have much experience with Xojo. I don’t understand why the Background section for ContainerControl1 list:
Custom Color
Background Color
Backdrop
but when the container is inside the PagePanel the Background section for ContainerControl11 list:
HasBackColor
BackColor
Backdrop
I don’t see any changes to the ContainerControl1 if I change something there (that’s why I said in #4 you can have the selection as OFF or ON without changes), so when that options matter?
Edit: sorry this is off-topic I think it is better to post it in other thread
Windows only: Be careful, because I have a big project with many page panels and much more containers in which controls are visible when they shouldn’t. But only if all transparent settings are set to False. I can’t reproduce this in a simple project.