FMX.Layouts.TCustomScrollBox.AfterPaint

From RAD Studio API Documentation

Delphi

procedure AfterPaint; override;

C++

virtual void __fastcall AfterPaint(void);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TCustomScrollBox

Description

Restores Canvas properties after the painting process. {{#multireplace:FMX.Layouts.TCustomScrollBox.AfterPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.AfterPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.AfterPaint|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Restores Canvas properties after the painting process.

As implemented in TControl, AfterPaint does nothing.

TShape descendants of TControl override AfterPaint to restore StrokeDash and StrokeThickness to default values.

See Also