Skip to main content
Hhuan.3
Associate III
March 8, 2023
Question

How do you share a control or page between each screenView

  • March 8, 2023
  • 4 replies
  • 952 views

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
March 8, 2023

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

/Romain

Hhuan.3
Hhuan.3Author
Associate III
March 9, 2023

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
March 8, 2023

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
March 9, 2023

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