Skip to main content
DK??k
Associate
January 23, 2019
Question

Force TouchGFX Designer to generate GotoView-Functions

  • January 23, 2019
  • 2 replies
  • 973 views

Hi,

I'm using virtual function calls in order to handle my click events. When a Screen Change shall be done, I'm using the application().gotoViewNoTransition() Funktions inside those virtual functions.

When I'm not using TouchGFX Designer Change Screen Settings to the View at all (because I'm only using virtual function calls) then these GotoView Funktions are not generated.

So either I Need some other possibility to change the Screen, or you can tell me how to enforce the Generation of this GotoView-Functions even without any Change Screen Event in T-GFX Designer.

Thank you for your answer in advance,

Denis Kökeny.

2 replies

Martin KJELDSEN
Principal III
January 24, 2019

Hi @Denis Kökeny​,

This is an old request that i'd love to see in myself. Usually, people would have an invisible button in order to have the transition method generated or... once you've generated the code for the transitions, simply copy them to a concrete implementation and remove the transition that generated them to clean up the .touchgfx file to not have a reference to an invisible button or something similar.

It will not be a part of the upcoming 4.11.0, but i will try to push for it for 4.12.0.

Thanks!

Best regards,

Martin

cvanbeek
Associate III
August 20, 2024

Do you know if this function was added?  I haven't figured it out in 4.24 and am still manually generating it with the workaround @Martin KJELDSEN mentioned.