[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed to draw the control on its Canvas.
Source position: stdctrls.pp line 1609
public procedure TCustomLabel.Paint; override; |
Paint is an overridden method in TCustomLabel used to draw the control on its Canvas. Paint ensures that property values in the control are applied to the Canvas before measuring and drawing its Text, including:
DoDrawText is called to render the label text using the DrawText flags needed for the property values.
Remark: | Paint does not call the inherited method in TGraphicControl. As a result, it does not signal the OnPaint event handler in the ancestor class. |
|
Returns the string value in the Caption for the control. |
|
|
The text displayed for the control. |
|
|
A clipped window into the parent Canvas. |
|
|
Implements the default handler used to draw the control. |
|
|
Event handler signalled to paint the control. |
Version 3.2 | Generated 2024-02-25 | Home |