Label with only one line

NewB4a

Member
Licensed User
Longtime User
A very simple question:
I want to change a labels text. How can I manage to only view one line? If the value of the text will change I only want to view the new text.
Background: I use asyncstreams and only the last received text shall to be seen. But the following text always appears below the last.
 
Can you give the section of your code where you're setting the value of the label?
The way you describe it, I assume you're adding the last line received to the previous received text. If you need an upward way of displaying the received lines, you should set something like
Code: Copy
currentText=newTextReceived & crlf & currentText
instead of, for example
Code: Copy
currentText=currentText & crlf & newTextReceived
. Except if you mean something else.
 
Upvote 0
Back
Top