[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

TCustomSpeedButton.Flat

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

Declaration

Source position: buttons.pp line 418

public property TCustomSpeedButton.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

TCustomSpeedButton.GetDrawDetails

  

Gets the theme element details used to draw the control.

TCustomSpeedButton.MeasureDraw

  

Calculates the Width, Height, and layout for the speed button and optionally renders the control.


Version 3.2 Generated 2024-02-25 Home