Page 1 of 1

Redirect after a few seconds to another page

Posted: Mon Aug 13, 2018 10:52 am
by Jay
Trying to make a splash screen page and after a few seconds I want to redirect to the login page.
Thinking if there is a time I can set and check if 5 seconds passed, then I wanted to code some in the embedded load jade method of the form.

But I couldn't find any example code or time related functions.
Can you guys help some. Thank you.

Re: Redirect after a few seconds to another page

Posted: Mon Aug 13, 2018 12:28 pm
by JohnP
As I mentioned in your other post, you can specify a splash screen image in the ini file. Then you can put app.doWindowEvents(5000); at the beginning of the form load method to do the delay.