DesktopContainer.Transparent

From Xojo Documentation

Property (As Boolean )
aDesktopContainer.Transparent = newBooleanValue
or
BooleanValue = aDesktopContainer.Transparent

New in 2021r3

Supported for all project types and targets.

If True, the background shows through to the DesktopContainer; if False, the DesktkopContainer is opaque. The default is True.


Notes

DesktopContainers by default are transparent controls, which means the background shows through. The Transparent property can be set (at design time or runtime) to turn this off/on as needed. An opaque DesktopContainer flickers less on Windows, is more optimized on macOS, and on Linux child controls on DesktopContainer are clipped properly.


Example

This example turns Transparent off:

Me.Transparent = False