Copy link to clipboard
Copied
Hi there!
I populate a dynamic text field with various warnings and/or indications related to the progress of different actions.
Dimensions of the text field are limited. It has a ScrollBar Component attached to it.
I currently use "+=" to add warnings and/or indications.
Problem is:
I want the last added text to always be inserted at the top of the list instead at the bottom.
This way, user can see the progress without doing anything.
User only use the ScrollBar to navigate into the text field to have a look to previous actions reported in it.
Is there a way to do this?
Many thanks in advance for your help!
PS: I think there's a typo in "dinamyc" tag which should be dynamic... Please correct it... 🙂
The way to add the text at the beginning is to reassign the text and add the existing text....
tfield.text = newText +tfield.text;
Copy link to clipboard
Copied
The way to add the text at the beginning is to reassign the text and add the existing text....
tfield.text = newText +tfield.text;
Copy link to clipboard
Copied
As usual, it's jaw dropping simple!
Thank you very much, Ned!
You made my day.
Copy link to clipboard
Copied
You're welcome
Find more inspiration, events, and resources on the new Adobe Community
Explore Now