Vcl.ComCtrls.TCustomStatusBar.OnDrawPanel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDrawPanel: TCustomDrawPanelEvent read FOnDrawPanel write FOnDrawPanel;

C++

__property TCustomDrawPanelEvent OnDrawPanel = {read=FOnDrawPanel, write=FOnDrawPanel};

Properties

Type Visibility Source Unit Parent
event public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomStatusBar

Description

Occurs when a status panel needs to be redrawn.

The OnDrawPanel event occurs when a status panel needs to be redisplayed—for example, when the user resizes the status bar. OnDrawPanel occurs only if the status panel's Style property is set to psOwnerDraw.

OnDrawPanel is an event handler of type Vcl.ComCtrls.TCustomDrawPanelEvent.

See Also

Code Examples