Label.Transparent

From Xojo Documentation

Revision as of 19:22, 1 June 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )


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

Example

Me.Transparent = True