Sign in Join
FPDoc Onlineexperiment

TThemeServices.DrawElement procedure

Member of TThemeServicespublicIn unit Themes

Draws a theme element using the specified theme element details.

Declaration

pascal
procedure DrawElement(DC: HDC; Details: TThemedElementDetails; 
 const R: TRect; ClipRect: PRect=Nil); virtual

Arguments

DC

Device context where the theme element is drawn.

Details

Theme element details used in the method.

R

Rectangle used to draw the frame for the themed element.

ClipRect

Not used in the current implementation. Default value is Nil.

Description

Modified in version 2.3.0 to use clBtnFace as the fill color for Tab pane or Tab body parts. clBackground was used in previous versions.

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