Vcl.ComCtrls.TCustomStatusBar.OnDrawPanel

提供:RAD Studio API Documentation

Delphi

property OnDrawPanel: TCustomDrawPanelEvent read FOnDrawPanel write FOnDrawPanel;

C++

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

プロパティ

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


説明

ステータス パネルが再描画される必要がある際に発生します。

OnDrawPanel イベントは、ステータス パネルが再表示される必要がある際(たとえば、ユーザーがステータス バーをサイズ変更した場合など)に発生します。OnDrawPanel は、ステータス パネルの Style プロパティが psOwnerDraw に設定されているときにのみ発生します。

OnDrawPanel は、Vcl.ComCtrls.TCustomDrawPanelEvent 型のイベント ハンドラです。

関連項目


コード サンプル