TIWLabel

TIWLabel

TIWLabel

The TIWLabel is the IntraWeb equivalent of the TLabel from VCL.

TIWLabel = class(TIWCustomControl)

Properties

property AutoSize: Boolean;

Use this property to indicate if the control will adjust its size automatically.

property ConvertSpaces: Boolean;

Use this property to indicate if the control will emit the extra spaces in the Caption property or if two or more spaces will be emited as one space only.

property ForControl: TIWCustomControl;

Set this property to determine which control this label is the label for.

property NoWrap: Boolean;

Use this property to indicate if the component will start a new line when the text in the Caption exceds the control’s size. It the ConvertSpaces property is true, the NoWrap value has no effect, as the text will be emitted in just one line.

property RawText: Boolean;

Use this property to indicate if the component will emit the Caption text as plain HTML, wihch will be interpreted by the browser as such. If you, for example, add HTML code that generates a HTML table, the browser will show the HTML table itself instead of the text in the Caption property.