60 views
in GUI Development by
Hi,

Regarding the "switch to dialog", if I have two dialogs, A and B,  A is to display a clock, B is to display temperature.

And I start with dialog A, the clock is 12:00, then I switch to dialog B. And I stay at dialog B for maybe 5 minutes,

after that switch to dialog A with slide transition, the problem is I can see the clock time of dialog is still 12:00 during the transition,

then when the transition is finished, I can finally see the clock changes to 12:05.

Is there any way to slove this kind of problem?

Thanks!

1 Answer

0 votes
by
 
Best answer

Hello chaunon,

I suppose, the implementation of dialog A is missing an initial update of the displayed time. This could be implemented in the method Init. Then use a timer to periodically refresh the displayed time. Also possible: configure the timer with a very short period for its first expiration (e.g. Begin = 1).

Best regards

Paul Banach

by
Hi Paul,

Thank you, your answer is very useful.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...