43 views
in GUI Development by
How can we sleep inside a method? I want a delay of say 5 sec inside a method. How to achieve that in EW?

1 Answer

0 votes
by
 
Best answer

Hello, 

you can start a timer (with a period set to 5000 ms) and trigger the desired action when the timer is expired. For that purpose the OnTrigger slot method can be used.

Please have a look to the Timer documentation for more details.

Best regards,

Manfred.

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

...