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 パラメータ)のサイズを指定します。

関連項目