Vcl.ComCtrls.TDrawPanelEvent

提供:RAD Studio API Documentation

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット 親
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

説明

TDrawPanelEvent は、オーナー描画のステータス バーにパネルを描画するイベント ハンドラ(OnDrawPanel などのハンドラ)の型です。


TDrawPanelEvent には以下のパラメータがあります。

Sender は、再描画するパネルが含まれている TStatusBar オブジェクトです。

Panel は、再描画する必要があるパネルです。

Rect は、ステータス バーのキャンバスにあるパネル(Panel パラメータ)のサイズを指定します。

関連項目