2022-09-12 11:31 PM
2022-09-13 12:07 AM
Hello @MA.2 ,
For sharing information between different screens, I would recommend to take a look at this article.
Then, you will be able to store your info into the model and display it on your screens through the presenter.
Similarly, you could also update the data stored into your model after an action of the user on the screen.
For displaying data into the TextArea, the most easy way is to use wildcards.
Please pay attention at those lines while implementing it :
Unicode::snprintf(textArea1Buffer, 10, "%d", newValue); // %d if you wanna display integer
textArea1.invalidate();
Otherwise, you can also use the setText() method.
Let me know if you have other questions,
/Yoann
2022-09-13 12:14 AM
thanks for the help, can i pass information without presenter between screens, its work or not
my aim is eg: to pass selected text in scrollable container from screen1 to screen2 textarea