Sign in Join
FPDoc Onlineexperiment

TSpeedButton.Transparent property

Member of TSpeedButtonpublishedIn unit Buttons

Indicates if the control is drawn with transparency.

Declaration

pascal
property Transparent:;

Description

Transparent is a Boolean property which indicates whether the control is drawn with transparency. Changing the value for the property causes the ControlStyle property to be updated to include or exclude the csOpaque flag as needed, and the control is redrawn. The property value is read from and written to the TransparentMode property in ButtonGlyph.

The property value is passed as an argument to the DrawGlyph method when MeasureDraw is executed. When set to False, the PaintBackground method fills the display area with the background Color when theme element details have transparent areas.

This description is the one of Buttons.TCustomSpeedButton.Transparent.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.