I was just wondering if I simply missed something or if something is going wrong ...
When I enter the hint property of a TLabel (for example), using the editor, I can enter multiple lines.
However,... when I close the editor and open the editor again, it all became one big line (linebreaks replaced with a space).
The compiled result will have the same problem. Multiple lines have become one long line.
If I assign a multiline string to the hint in core (using LineEnding in between), then this works just fine.
Example in the editor (accessed from the '...' button in the Object Inspector):
hint line example 1
hint line example 2
Close editor and open it again, and it will show:
hint line example 1 hint line example 2
Or if you didn't reopen the editor, the hint in the application will be a single line as well.
However, when I do this in code, the hint will show a correct multiline hint.
Label1.hint := 'hint line example 1' + LineEnding + 'hint line example 2';