Vcl.ComCtrls.TStatusBar.OnDrawPanel
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 |
説明
ステータス パネルが再描画される必要がある際に発生します。
OnDrawPanel イベントは、ステータス パネルが再表示される必要がある際(たとえば、ユーザーがステータス バーをサイズ変更した場合など)に発生します。 OnDrawPanel は、ステータス パネルの Style プロパティが psOwnerDraw に設定されているときにのみ発生します。
OnDrawPanel は、Vcl.ComCtrls.TDrawPanelEvent 型のイベント ハンドラです。
関連項目