Redirect after a few seconds to another page

Forums for specific tips, techniques and example code
Jay
Posts: 25
Joined: Mon Jul 23, 2018 10:15 am

Redirect after a few seconds to another page

Postby Jay » Mon Aug 13, 2018 10:52 am

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.

JohnP
Posts: 73
Joined: Mon Sep 28, 2009 8:41 am
Location: Christchurch

Re: Redirect after a few seconds to another page

Postby JohnP » Mon Aug 13, 2018 12:28 pm

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.


Return to “Tips and Techniques”

Who is online

Users browsing this forum: Bing [Bot] and 18 guests