Vertical tab in Delphi string on Android using FMX

  

could someone explain me, why horizontal tab in string works on Windows, but not on Android ? Using Delphi 10.1 Berlin, FireMonkey. Or how to use tab and other special chars on Android 🙂

procedure TFMain.Text1Click(Sender: TObject);
begin
Text1.Text:= ‘first:’ + chr(9) + ‘1’ + #10 + ‘second:’ + #9 + ‘2’;
end;

Result on Windows:

first: 1
second: 2

Result on Android:

first: 1
second: 2

What I need – align text in columns in TText, TMemo, hints and so on.
Best regards.

Comments are closed.