Vcl.ComCtrls.TDrawPanelEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDrawPanelEvent = procedure(StatusBar: TStatusBar; Panel: TStatusPanel;
const Rect: TRect) of object;

C++

typedef void __fastcall (__closure *TDrawPanelEvent)(TStatusBar* StatusBar, TStatusPanel* Panel, const Winapi::Windows::TRect &Rect);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

TDrawPanelEvent is the type of event handlers that draw a panel in an owner-drawn status bar, such as OnDrawPanel.

TDrawPanelEvent has the following parameters:

Sender is the TStatusBar object that contains the panel to redraw.

Panel is the panel that needs to be redrawn.

Rect gives the dimensions of Panel on the status bar's canvas.

See Also