Vcl.ExtCtrls.TTitleBarPanel.OnPaint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnPaint: TTitleBarPaintEvent read FOnPaint write FOnPaint;

C++

__property OnPaint;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TTitleBarPanel

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.

Vcl.ExtCtrls.TTitleBarPanel.OnPaint inherits from Vcl.ExtCtrls.TCustomTitleBarPanel.OnPaint. All content below this line refers to Vcl.ExtCtrls.TCustomTitleBarPanel.OnPaint.

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.

See Also