Skip to main content
Shree
Associate III
April 22, 2020
Solved

How to re-use some screens from previous project ?

  • April 22, 2020
  • 2 replies
  • 816 views

Hi.

Is it possible to re-use some of the screens of previously developed TouchGFX project ?

I have tried the option of importing the GUI but it overwrites my current project.

Please share your thoughts or suggestions.

Regards,

Shree

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Unfortunately it is not possible to just copy and transfer a screen to another project. The only solution is to re-use your code.

Importing a UI overwrites the UI that is already present.

/ Romain

2 replies

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
April 23, 2020

Unfortunately it is not possible to just copy and transfer a screen to another project. The only solution is to re-use your code.

Importing a UI overwrites the UI that is already present.

/ Romain

Shree
ShreeAuthor
Associate III
April 23, 2020

Thanks Romain.

Martin KJELDSEN
Principal III
April 27, 2020

Not to mention that importing a UI will only import the screen definition. This means the generator can generate the code for the UI but not the logic you wrote yourself inside the files in gui/.

You could write some fancy scripts though :) Having a repository of widgets and screens is something we want to look at.

/Martin