Skip to main content
Hhuan.3
Associate III
Mar 8, 2023 1:59 AM UTC
Question

How do you share a control or page between each screenView

If each screen shares a function or control, such as a hover button (used in both screen0 and screen1), the function of the hover button in screen0 must be the same as it is in screen1; Switching screens does not free up resources; What's the best way to share a function?

This topic has been closed for replies.

4 replies

Romain DIELEMAN
ST Employee
Mar 8, 2023 8:08 AM UTC

Custom containers usually is the solution to have the same code to be used in different screens.

/Romain

Hhuan.3
Hhuan.3Author
Associate III
Mar 9, 2023 9:44 AM UTC

thank you for answer, I put the controls in the model so that they can be shared across different screens and keep state information

Jnevi.1
Associate III
Mar 8, 2023 7:03 PM UTC

maybe a customcontainer can provide what you are looking for? i used it for things i need on different sceens

Hhuan.3
Hhuan.3Author
Associate III
Mar 9, 2023 9:44 AM UTC

thank you for answer, I put the controls in the model so that they can be shared across different screens and keep state information