OnPaintHeader event
|
acHeaderPanel component.
|
property OnPaintHeader: TNotifyEvent;
|
The OnPaintHeader event occurs when Windows requires the header of panel to paint, such as when the form or panel receives focus or becomes visible when it wasn't previously.
|
|
Your application can use this event to draw on the canvas of the header of panel. For example, to draw custom background.
|
|
This event works to draw background for the header only. If you wish to paint something on the main panel write the OnPaint event handler.
|
BackgroundHeader and Background structures;
|
OnPaint event.
|