Vcl.ComCtrls.TCustomDrawStage
Delphi
TCustomDrawStage = (cdPrePaint, cdPostPaint, cdPreErase, cdPostErase);
C++
enum DECLSPEC_DENUM TCustomDrawStage : unsigned char { cdPrePaint, cdPostPaint, cdPreErase, cdPostErase };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TCustomDrawStage specifies a stage in the custom drawing process.
Use TCustomDrawStage to determine when an advanced custom drawing event occurs:
Value | Meaning |
---|---|
cdPrePaint |
Before painting |
cdPostPaint |
After painting |
cdPreErase |
Before erasing |
cdPostErase |
After erasing |