Action to Show container (instead of show widget)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-25 2:09 AM
Hi,
I need to show "Yes/No" modal dialog when a sensor value goes over limits.
Why there is only Show/hide/move widget action, but no Action to show container? I'm I missing something here and thinking this wrong?
Should I make Custom Widget instead, or should I call C++ function that can show Container?
Thanks!
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
‎2019-11-06 2:31 AM
I can add a "Modal Window" to my canvas and select it as target after choosing the "Hide/Show widget" action.
A custom container or even a regular container is also a widget that you can select in the list of target widgets to show or hide,
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-25 9:16 AM
You can create a custom container of the "Yes/No" Modal Dialog and then add it inside your MainView after including the header file of the custom container.
Afterwards, you can set it visible or hide it in you custom code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-28 6:53 AM
Okay, thanks!
So this feature could be added TouchGFX designer? I think this "show container" is commonly used feature, just like "show widget" is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-31 6:37 AM
You're right, there are some inconsistensies when it comes to basic things like "show/hide".
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-11-06 2:31 AM
I can add a "Modal Window" to my canvas and select it as target after choosing the "Hide/Show widget" action.
A custom container or even a regular container is also a widget that you can select in the list of target widgets to show or hide,
/Martin
