Sign in Join
FPDoc Onlineexperiment

TBevel.Paint procedure

Member of TBevelprotectedIn unit ExtCtrls

Handles paint requests received from the parent control.

Declaration

pascal
procedure Paint; override

Description

Paint is an overridden procedure used to perform paint requests received by the parent control.

Paint checks the value in Style to determine the Pen colors used to draw the bevel. The Shape property determines the drawing primitives used to render the bevel to its Canvas.

No actions are performed in the method when Shape contains the value bsSpacer.

Paint calls the inherited method to trigger the OnPaint event handler (when assigned).

See also

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