[Overview][Types][Classes][Procedures and functions][Index] |
Paints the panel including the bevels and caption defined for the control.
Source position: extctrls.pp line 1088
protected procedure TCustomPanel.Paint; override; |
Paint is an overridden procedure which paints the panel including the bevels and caption defined for the control. Paint calls GetClientRect to get the rectangle used to draw the control. PaintBevel is called to draw both the inner and outer bevels for the control (when used).
When Caption contains a String value (other than an empty string), the Canvas for the control is used to render the text. Values in the BiDiMode, WordWrap, and Layout properties are applied to the text as needed.
Paint calls the inherited Paint method prior to exit.
|
Implements the default handler used to draw the control. |
lazarus-ccr.sourceforge.net |