Vcl.StdCtrls.TButtonControl.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read FWordWrap write SetWordWrap default False;

C++

__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TButtonControl

Description

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