Vcl.ExtCtrls.TCustomTitleBarPanel.OnPaint
Delphi
property OnPaint: TTitleBarPaintEvent read FOnPaint write FOnPaint;
C++
__property TTitleBarPaintEvent OnPaint = {read=FOnPaint, write=FOnPaint};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomTitleBarPanel |
Description
It helps you to customize your paint on the title bar area.
It is called as the very last stage of painting. You can paint over anything else already painted on the title bar, such as captions or system buttons.
The paint is a 32bit surface. It has the same painting requirements as painting on glass in Windows 7.