2020-02-17 11:55 AM
Hello!
I work with textArea.
I want to add new text while program working. For example - I get array of filenames and I want to put filenames to screen (and later select one of them by touching).
How can I do this? How to create new textArea while program is working?
2020-02-18 12:22 AM
Hi, I am unsure I understand what you wish to do. If you just wish to have a textArea that pops up while running for any reason (like a button clicked or a value reached) the easiest solution would be to add a textArea widget in Designer and set its alpha at 0 (or uncheck the Visible option) so that it will be invisible on screen. Then modify its alpha value to 255 (or set as Visible) in your code when you wish the textArea to appear.
Hope this helps but if this is not what you were looking for, please add some more context and code/pictures so that we can have a better insight of your issue.
/Romain
2020-02-18 12:30 AM
Thanks!
May be, textarea is not that I need...
I want make SDcard directory browser. I want to make list of files, and name of each file must be selectable.
I don't know, how much files will be found - for example, it will be 1000. CRreation of 1000 invisible textarea or othe widgets -is not good idea.
Please, advise me good way to make file browser with touchgfx.
2020-02-18 12:46 AM
I suggest you have a look at the Scroll Wheel and Scroll List widgets, they might be a solution to what you are looking for. There are several UI templates available on Designer when creating a new project that use those widgets like the List Layout Example or the Scroll Wheel and List Example.
2020-02-18 12:52 AM
Thanks, I will look.
Tell me have these widgets possibility to change count of elements while program working? not only in designer...
2020-02-18 06:01 AM
Hi
These widgets can change count of elements while program working. Or in other words, basically all widgets can be added by code.