Sign in Join
FPDoc Onlineexperiment

TColorButton.Flat property

Member of TColorButtonpublishedIn unit Dialogs

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

Declaration

pascal
property Flat:;

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.

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

See also

  • GetDrawDetails
  • MeasureDraw

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