I am trying to create a button caption that contains a line break:
Button.Caption := 'Line1' + #13#10 + 'Line2';
However, the standard line break character #13#10
does not appear to work in this case as I am getting:
Line1Line2
displayed on the button. What is the correct syntax to break a button caption across more than one line?
Based on Newline character in caption of button (in Delphi):