Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.Flat property

Member of TCustomSpeedButtonpublicIn unit Buttons

Indicates whether the button is displayed with a Flat (non-relief) appearance.

Declaration

pascal
property Flat: Boolean read FFlat write SetFlat default False;

Description

Set Flat to True to draw the control without relief, elevation, or a three-dimensional appearance. The default value for the property is False. Changing the value for the property causes the control to be redrawn.

Flat is used in the GetDrawDetails method to select the theme element details applied to the control for its current state. When set to False, TThemedButton element details are used. When set to True, TThemedToolBar element details are used. See GetDrawDetails for more information about the values used for specific button states.

See also

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