Vcl.ComCtrls.TStatusPanel.Style

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

Delphi

property Style: TStatusPanelStyle read FStyle write SetStyle default psText;

C++

__property TStatusPanelStyle Style = {read=FStyle, write=SetStyle, default=0};

プロパティ

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

説明

ステータスパネルのテキストの表示スタイルを決めます。

Style プロパティを psText(デフォルト)に設定すると,Text プロパティの文字列が,Alignment プロパティで指定した位置揃えの方法でステータスバーに表示されます。フォントはステータスバーの Font プロパティで指定します。

Style プロパティを psOwnerDraw に設定すると,ステータスパネルに表示されている内容が,OnDrawPanel イベントハンドラに記述されたコードによって,実行時にステータスバーのキャンバスに表示されます。

関連項目