Vcl.ComCtrls.TDrawPanelEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

Type Visibility Source Unit Parent
typedef public 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