Vcl.ComCtrls.TStatusPanel.Alignment

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

Delphi

property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;

C++

__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};

プロパティ

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

説明

ステータスパネル内でどのようにテキストを揃えるかを指定します。

Alignment プロパティを使用すると,パネルテキストの位置揃えを指定できます。次の表に,Style で指定できる値を示します。



意味

taLeftJustify

テキストをパネルの左側に揃える

taCenter

テキストをパネルの中央に揃える

taRightJustify

テキストをパネルの右側に揃える



メモ:  ステータスバーにサイズ変更グリップを表示している場合,最終ステータスパネルの Alignment プロパティを taRightJustify に設定するとパネルのテキストの末尾が切り捨てられます。

関連項目