RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TCustomDrawStage Enumeration

TCustomDrawStage specifies a stage in the custom drawing process.

Pascal
TCustomDrawStage = (
  cdPrePaint,
  cdPostPaint,
  cdPreErase,
  cdPostErase
);
C++
enum TCustomDrawStage {
  cdPrePaint,
  cdPostPaint,
  cdPreErase,
  cdPostErase
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!