[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Checks for CR or LF characters in the label text for the control.
Source position: stdctrls.pp line 1570
protected function TCustomLabel.HasMultiLine: Boolean; |
True when CR or LF characters are used in the text for the label.
HasMultiLine is a Boolean function used to determine if CR (Carriage Return, Decimal 13) or LF (LineFeed, Decimal 10) characters are included in the text for the control. HasMultiLine calls GetLabelText to get the text stored in the label.
The return value is True when either character occurs in the text for the label.
HasMultiLine is used in the CalculateSize method to determine whether the DT_SINGLELINE flag is included in the drawing flags for the control.
|
Gets the height and width needed for the label text. |
|
|
Returns the string value in the Caption for the control. |
|
|
DrawText formatting: text is drawn in a single line, regardless of embedded line endings. |
Version 3.2 | Generated 2024-02-25 | Home |