API:Vcl.ComCtrls.TStatusBar.OnDrawPanel

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property OnDrawPanel: TDrawPanelEvent read GetOnDrawPanel write SetOnDrawPanel;

C++

__property TDrawPanelEvent OnDrawPanel = {read=GetOnDrawPanel, write=SetOnDrawPanel};

プロパティ

種類 可視性 ソース ユニット
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TStatusBar

説明

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

Vcl.ComCtrls.TStatusBar.OnDrawPanel は Vcl.ComCtrls.TCustomStatusBar.OnDrawPanel を継承しています。以下の内容はすべて Vcl.ComCtrls.TCustomStatusBar.OnDrawPanel を参照しています。

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

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

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

関連項目


コード サンプル