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

TToolButton.GetButtonDrawDetail

Gets the Theme Element Details used for the tool button.

Declaration

Source position: comctrls.pp line 2156

protected function TToolButton.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 theming details.

Called from the Paint method before the control is drawn.


Version 3.2 Generated 2024-02-25 Home