# Canvas.Background in a Container

**URL:** <https://forum.xojo.com/t/canvas-background-in-a-container/88397>\
**Category:** Windows\
**Created:** [June 10, 2026, 3:35pm UTC](https://forum.xojo.com/t/canvas-background-in-a-container/88397 "2026-06-10T15:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Horst\_Jehle](https://forum.xojo.com/user_avatar/forum.xojo.com/horst_jehle/32/5432_2.png) [@Horst\_Jehle](https://forum.xojo.com/u/Horst_Jehle)\
**Post date:** [June 10, 2026, 3:35pm UTC](https://forum.xojo.com/t/canvas-background-in-a-container/88397/1 "2026-06-10T15:35:24Z")

</div>

If I use a DesktopCanvas and place it over an existing DesktopCanvas it looks like it should on macOS and Linux. See the last two dark grey objects.

 ![macOS](https://forum.xojo.com/uploads/default/original/3X/b/4/b4b648158cebbf62aa2f5b34380e72e6f24b05c3.png)

But on Windows (Windows 11 ARM), it looks not good. See the last two dark grey objects.

 ![Windows11_ARM](https://forum.xojo.com/uploads/default/original/3X/a/5/a50f3234d3652a01aa979f2f9e12d7bae43dd608.png)

Has anyone a solution for this?

Here are the project as a zip file.

[DesktopCanvas.zip](https://forum.xojo.com/uploads/short-url/r10TQNseiY3koNRf9bmzVSppnBW.zip) (17.6 KB)

---

<div class="post-metadata">

**Author:** ![Anthony\_G\_Cyphers](https://forum.xojo.com/user_avatar/forum.xojo.com/anthony_g_cyphers/32/16862_2.png) [@Anthony\_G\_Cyphers](https://forum.xojo.com/u/Anthony_G_Cyphers)\
**Post date:** [June 10, 2026, 4:23pm UTC](https://forum.xojo.com/t/canvas-background-in-a-container/88397/2 "2026-06-10T16:23:30Z")

</div>

Transparency on Windows isn’t true transparency, while it is on the other platforms. Try to avoid layering controls.

Also, make sure that you’re setting the Transparent property of your label controls to True for Windows if you want stuff behind them to be visible.

---

<div class="post-metadata">

**Author:** ![Horst\_Jehle](https://forum.xojo.com/user_avatar/forum.xojo.com/horst_jehle/32/5432_2.png) [@Horst\_Jehle](https://forum.xojo.com/u/Horst_Jehle)\
**Post date:** [June 12, 2026, 5:19am UTC](https://forum.xojo.com/t/canvas-background-in-a-container/88397/3 "2026-06-12T05:19:24Z")

</div>

After many hours, now I have the solution. Place all controls into the canvas and everything looks good on Windows platform.

Example, of controls placed over the background canvas:

 ![wrong](https://forum.xojo.com/uploads/default/original/3X/f/b/fb49b1aaeb736b0603428947cccd9aa12169bb32.png)

Example, of controls placed inside of background canvas:

 ![good](https://forum.xojo.com/uploads/default/original/3X/2/2/22baa3ec8268c590422b0922370eb3ec092f1901.jpeg)
