DesktopUIControl.Transparent

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2021r3

Supported for all project types and targets.

Determines whether the control is transparent on Windows. The default is False. Has no effect on macOS or Linux.

Notes

Transparent controls draw more slowly and use more memory in order to cache the background. Unless you absolutely require transparency, leave this set to False.

For projects that were created prior to 2018r1, this property defaults to True to emulate previous behavior. Consider changing it to False to improve performance if you do not require transparency.