Sign in Join
FPDoc Onlineexperiment

TThemeServices.GetDetailSize function deprecated

Member of TThemeServicespublicIn unit Themes

use GetDetailSizeForPPI

Deprecated. Use GetDetailSizeForPPI instead.

Declaration

pascal
function 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.

Deprecated in Lazarus version 2.3.0 or higher.

See also

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