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

TThemeServices.GetDetailSize (deprecated)

Deprecated. Use GetDetailSizeForPPI instead.

Declaration

Source position: themes.pas line 480

public function TThemeServices.GetDetailSize(

  Details: TThemedElementDetails

):TSize; virtual;

Arguments

Details

  

Identifies the element, part, and state for the requested theme element.

Function result

Dimensions for the theme element detail specified in the Details argument.

Description

Gets the default dimensions for the specified theme element detail.

Calls GetDetailSizeForPPI to get the return value for the method. -1 in the Width and Height for the TSize instance means the size for the theme element detail is not known.

Version info

Deprecated in Lazarus version 2.3.0 or higher.

See also

TThemeServices.GetDetailSizeForPPI

  

Gets the dimensions for a theme element scaled to the specified Pixels per Inch (PPI).

TThemedElementDetails

  

Record type with a theme element, part, and state values.

TThemedElement

  

Represents elements which can be themed.

TSize


Version 3.2 Generated 2024-02-25 Home