Skip to main content

How to slow down a splash screen in Dialog System?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

An application with a splash screen will need to pause to allow the users to see the splash screen.

Resolution:

In the splash screen's WINDOW-CREATED event, a TIMEOUT function can be used to pause for certain time. The syntas is as follows:

TIMEOUT time procedure-name

where time is in 1/100th of a second

where procedure-name will be executed after reaching the amount of time

Example:

WINDOW-CREATED

            TIMEOUT 1000 TERMINATE-WIN

     TERMINATE-WIN

            TERMINATE

*This procedure times out for 10 seconds and terminates the window

Old KB# 5010