TCustomComboBox.Canvas property
Provides access to the drawing surface for the control.
Declaration
property Canvas: TCanvas read FCanvas;Description
Canvas is a read-only
TCanvas property which provides
access to the drawing surface used for the control. The class implementation
actually uses a
TControlCanvas instance in the member.
Canvas is used in methods like DrawItem, and in private methods
which handle the LM_DrawListItem message for the control. Canvas is
also passed as an argument to methods in the ancestor class like
PaintTo. Canvas can be useful in OnDrawItem event
handler when used to render list items for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
