Vcl.StdCtrls.TButton.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read FWordWrap write SetWordWrap default 0;

C++

__property WordWrap = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TButton

Description

Specifies whether the button text wraps to fit the width of the control.

Vcl.StdCtrls.TButton.WordWrap inherits from Vcl.StdCtrls.TButtonControl.WordWrap. All content below this line refers to Vcl.StdCtrls.TButtonControl.WordWrap.

Specifies whether the button text wraps to fit the width of the control.

Set WordWrap to true to allow the display of multiple lines of text. When WordWrap is true, text that is too wide for the control wraps at the right margin.

Set WordWrap to false to limit the text to a single line. When WordWrap is false, text that is too wide for the control appears truncated.

See Also