Hello
I’m using a canvas control that is inside of a Group Box Control. The new Xojo MacOS Group Box uses color shading now instead of lines. I need the canvas to be transparent which requires me to use FillRect ForeColor to be the same as the window BackColor so I can draw lines (Code Below). The line Control has been depreciated for a while but it still seems to be working in Windows in the 2023 Releases. Now the Canvas ForeColor has to match the Group Box shade BackColor. I don’t seem to be finding GroupBox.BackColor. My Question how do I find the GroupBox BackColor to make my Canvas Transparent? Trial & Error of 1000’s of Hex colors can take forever to find.
Dim Buffer As Picture
Canvas.Buffer.Graphic.ForeColor = Window.BackColor
Canvas.Buffer Graphics.FillRect(0, 0, Cavas.Width, Canvas.Height)