Herman Geschrieben 20. November 2022 Teilen Geschrieben 20. November 2022 Hello, is it at the moment possible to give from EV ( or Lua ) a sign to force the textbox to the next line ? ( I use Lua and concatenation to give the new line, so the multiline grows correctly but no new line ) Hallo, ist es im Moment möglich, von EV (oder Lua) ein Zeichen zu geben, um die Textbox in die nächste Zeile zu zwingen? (Ich benutze Lua und Verkettung, um die neue Zeile zu geben, so dass die mehrzeilige korrekt wächst, aber keine neue Zeile) Regards, Herman Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Goetz Geschrieben 20. November 2022 Teilen Geschrieben 20. November 2022 vor 8 Minuten schrieb Herman: Hello, is it at the moment possible to give from EV ( or Lua ) a sign to force the textbox to the next line ? Yes, both The graphical EV offers a larger text box, suited for multiple line text. And Lua now supports \n for a new line. Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Herman Geschrieben 20. November 2022 Autor Teilen Geschrieben 20. November 2022 17 minutes ago, Goetz said: And Lua now supports \n for a new line. Thank you @Goetz , fine ! Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
simonjackson1964 Geschrieben 21. November 2022 Teilen Geschrieben 21. November 2022 Oh! Would that work with the labels in the station departure boards? Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Goetz Geschrieben 21. November 2022 Teilen Geschrieben 21. November 2022 There's no harm in trying, Simon. Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
simonjackson1964 Geschrieben 21. November 2022 Teilen Geschrieben 21. November 2022 Yes! It works, but I mucked up the loop Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Goetz Geschrieben 21. November 2022 Teilen Geschrieben 21. November 2022 The loop only loops when text won't fit in the box. And loops aren't designed for multiline text. Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
simonjackson1964 Geschrieben 21. November 2022 Teilen Geschrieben 21. November 2022 No, not that loop, my code loop. Because I had it coded to put one line at a time on the "Via" list, it had between 4 and 13 lines to display and was looping on a two-second timer. Changing it to display two lines at a time meant adding a blank 14th line, but I forgot to increment the index a second time on the initial call! All working now. (Now to get the other platform to work!) Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden