Sign in Join
FPDoc Onlineexperiment

TToolButton.GetButtonDrawDetail function

Member of TToolButtonprotectedIn unit ComCtrls

Gets the Theme Element Details used for the tool button.

Declaration

pascal
function GetButtonDrawDetail: TThemedElementDetails; virtual

Description

Uses values in Style, Enabled, and Down to determine the theme elements requested in the method. Calls ThemeElement.GetElementDetails to retrieve the theme details.

Called from the Paint method before the control is drawn.

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