cancel
Showing results for 
Search instead for 
Did you mean: 

How to re-use some screens from previous project ?

Shree
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Romain DIELEMAN
ST Employee

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

View solution in original post

3 REPLIES 3
Romain DIELEMAN
ST Employee

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

Thanks Romain.

Martin KJELDSEN
Chief III

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