How to change the modal text when using Modal in TouchGFX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-25 2:14 AM
The TouchGFX uses a Modal window. A TextArear is declared in the Model Window, and the TextArear content is to be changed depending on the circumstances. Is there a way to change the text only in one TextArear?
For example) case1 -> Hello,
case2 -> Have Nice Day!
case3 -> Good Days!~
I want to change these text contents and use them.
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-27 10:15 PM
Hello @PKunK.1​ ,
Just like you can add buttons and images (see UI example "Modal Window" available in TouchGFX Designer), you can add a TextArea in the ModalWindow and actually anything you want because a Modal Window is first and foremost a CONTAINER.
Now to modify a textArea, you need to know how to use wildcards. For this please read the following articles :
I also enclosed a quick project to show you how it is really implemented in a project.
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-27 10:15 PM
Hello @PKunK.1​ ,
Just like you can add buttons and images (see UI example "Modal Window" available in TouchGFX Designer), you can add a TextArea in the ModalWindow and actually anything you want because a Modal Window is first and foremost a CONTAINER.
Now to modify a textArea, you need to know how to use wildcards. For this please read the following articles :
I also enclosed a quick project to show you how it is really implemented in a project.
When your question is answered, please close this topic by choosing Select as Best.
/Alexandre
