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

TWidgetSet.SetBkColor

Sets the current background color of an decice context.

Declaration

Source position: winapih.inc line 238

public function TWidgetSet.SetBkColor(

  DC: HDC;

  Color: TColorRef

):TColorRef; virtual;

Arguments

DC

  

The device context.

Color

  

The new background color.

Function result

The old background color, CLR_INVALID on failure.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.