Label.Transparent
From Xojo Documentation
Property (As Boolean )
This property is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform. |
aLabel.Transparent = newBooleanValue
or
BooleanValue = aLabel.Transparent
New in 2010r2
Supported for all project types and targets.
or
BooleanValue = aLabel.Transparent
New in 2010r2
Supported for all project types and targets.
Use this property to set the transparency of this control. If True, the control will overlay transparently on top of a graphic. For example if you overlay a Label on top of a Canvas/Image then if Transparent is true, the text will overlay transparently (i.e. the background shows through). A non-Transparent Label control will not cause any flicker.
This property applies only to Windows. On macOS and Linux, a Label will always render transparently regardless of this property's value.