371 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...