Generates an OnPaint event.
procedure Paint; override;
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.
OnPaint