Skip to main content
H7_it
Associate
August 28, 2019
Solved

How do you implement a popup (container including some basic widgest) on EVERY SCREEN which can be set visible by the model?

  • August 28, 2019
  • 3 replies
  • 1487 views

Hi,

I'm currently building a Touchgfx interface consisting of multiple screens (30+).

Everything is working fine so far, however now I need to implement some sort of popup/warning dialog which can be triggered by the model.

Each page needs to have this dialog and I'll probably build it of a container and some basic widgets.

How would you implement this without adding the container on every single screen?

This seems like it's way to much work considering I'd also need to maintain the MVP structure for each view.

Thanks

Michael

This topic has been closed for replies.
Best answer by Martin KJELDSEN

Please look at a project i shared that shows you how to do base-views in a base-class, shared between screens. Currently there's no way of doing this in the designer, but it is coming. If you study that example i posted, you should be able to adapt it to your own project.

/Martin

3 replies

JHarding
Senior
November 6, 2020

I’ve got similar issues. Did you ever find a solution to this?

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
November 19, 2020

Please look at a project i shared that shows you how to do base-views in a base-class, shared between screens. Currently there's no way of doing this in the designer, but it is coming. If you study that example i posted, you should be able to adapt it to your own project.

/Martin

H7_it
H7_itAuthor
Associate
November 19, 2020

Hi Martin,

thanks for your response. Could you please link in one of your shared projects? I can't find them.

Thanks