Sign in Join
FPDoc Onlineexperiment

TCustomListBox.Canvas property

Member of TCustomListBoxpublicIn unit StdCtrls

Drawing surface where the control is drawn.

Declaration

pascal
property Canvas: TCanvas read FCanvas;

Description

Canvas is a read-only TCanvas property with the drawing surface where the control is drawn.

Its value is assigned the constructor for the class instance, and uses a TControlCanvas instance to maintain an association between the control and its device context. It is freed when the control is destroyed.

Values in the Font and Brush properties are assigned to Canvas, and used to measure and draw the Items for the control.

See also

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