Jump to content
Sign in to follow this  


Recommended Posts

Is there alread a constant for a line break in the RTL?


In Delphi there is sLineBreak and in .Net we have Environment.NewLine.


It would be great to have such simple thing also in SMS. I don't want to use #13#10 as hardcoded value.

Share this post

Link to post
Share on other sites

Is there an update to this for the new Alpha? 
Neither of these seem to work.

QuestionLabel.Caption := subQuestion + sLineBreak + anotherString;
QuestionLabel.Caption := subQuestion + #13#10 + anotherString;

Initialise code:

QuestionLabel := Tw3Label.Create(QuestionPanel);
  Questionlabel.WordWrap := True;
  QuestionLabel.AutoSize := False;
  QuestionLabel.Font.Size := 25;
  QuestionLabel.AlignText := taCenter;
  QuestionLabel.FOnt.Color := $FFFFFF;


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this