From Xojo Documentation

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

Property (As Boolean )

aLabel.Transparent = newBooleanValue
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.


Me.Transparent = True