Hallo,
ich habe ein Problem.
Wenn ich in ein Text Objekt einen String direkt mit:
str_cat(tooltip_texts[0],"Hallo \n 2. Zeile!");
fülle, dann wird es auch in 2 Zeilen angezeigt.
Aber wenn ich den String "Hallo \n 2. Zeile!" in einer Datei speicher(und in ein Array einlese) und dann mit
str_cat(tooltip_texts[0],sprach_str[1]);
fülle, dann wird im Text genau der String "Hallo \n 2. Zeile!" (in 1 Zeile) angezeigt. Warum? Und vorallem, wie kann ich es ändern?
Danke im vorraus
Nico
Hello,
I have a problem.
If I fill a string in a text object with
str_cat(tooltip_texts[0],"Hello\n 2. Row!");
then it also get displayed in 2 rows.
But if I save the String "Hello\n 2. Row!" in a file(and save it later in an array) and then do this:
str_cat(tooltip_texts[0],language_str[1]);
then the string will be displayed just as it is in 1 row.
It just displays exact "Hello\n 2. Row!".
Why?
And how can I solve it?
Thank you already
Nico