Skip to main content
Ebun.1
Senior
June 1, 2020
Question

Main screen and setting screen

  • June 1, 2020
  • 4 replies
  • 1109 views

I want to create a parameter setting screen in addition to the main screen.

Read the state of the switch at startup to determine which screen to display.

I want to dynamically decide the display screen like this. How should I create it?

Do you have samples?

Thank you.

This topic has been closed for replies.

4 replies

Jagdish Bisawa
Visitor II
June 1, 2020

Hi @Ebun.1​ ,

The start-up screen is decided in the Designer. The code for the same is available in the FrontendHeapBase.hpp & FrontendApplicationBase.cpp files. These are compile-time decisions.

In your case, the decision is to be made at run-time., as per the status of a button. In such a case you will have to make changes to the above said files. However, be aware that when you will regenerate code, these changes could get lost ( try & check for yourself ).

/Jagdish Bisawa

Ebun.1
Ebun.1Author
Senior
June 5, 2020

Thank you for your reply.

I am going to use it as an example.

hdmi87
Associate II
June 4, 2020

You may add a empty screen as the startup screen, add two interaction to it (one - change screen to main screen and other - change screen to setting screen) and then activate one of these interactions in runtime.

Ebun.1
Ebun.1Author
Senior
June 5, 2020

Thank you for your reply.

I am going to use it as an example.