El Capitan and Sheet window background color ?

The background color of the sheet windows in my app are custom set. The same app running on El Capitan shows the sheet windows with gray background color instead the custom one.

How can I set my custom color for El Capitan?

My custom sheet window backgrounds are showing just fine in 10.11. How are you setting your backgrounds?

In the inspector panel of the IDE

Custom Color = On
Background Color = ‘green’ // selected from the color wheel
Backdrop = None

I can confirm that setting the Background color of a sheet window in the IDE is not working in 10.11. Please file a feedback report.
You can still show your color by putting it in the paint event of the window.

g.ForeColor = &c00FF00 g.FillRect 0, 0, me.Width, me.Height

Thanks for the workaround.

Seems to be related to this feedback case:

39334 - Sheet window ignores background color for Cocoa Builds

The case was closed, because it is not a bug. Why is it not a bug, when the IDE settings do not work?

Likely because its not actually supported by the OS

It is working fine for me here (MBP, OS X 10.11.2, Xojo 2015 R4) without the workaround.

Here iMac, EC 10.11.2 and 2025R4 I see the sheet colorless.

BTW, I modified the workaround to make it more transparent :

Sub Paint(g As Graphics, areas() As REALbasic.Rect) g.ForeColor = me.BackColor g.FillRect(0,0,g.width,g.height) End Sub

Meant 2015R4, of course :wink: