RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPaintBox.Paint Method

Generates an OnPaint event.

Pascal
procedure Paint; override;
C++
virtual __fastcall Paint();

Paint responds to WM_PAINT messages from Windows by initializing the canvas and calling the OnPaint event handler if it is assigned. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!