Andromo - Start Making Apps - Free Signup



New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Ending Splash Page

  • Filter
  • Time
  • Show
Clear All
new posts

  • Ending Splash Page

    I want to create a splash page for the end of my project. I need to have a picture appear for X seconds, but i want the project to CLOSE BEFORE displaying the picture.

    The script i found in the knowlege base does the trick, but it displays the picture in front of the project. I want it to execute in this order...

    1. User clicks EXIT
    2. Menu/project disappears
    3. Splash graphic appears within 1 second
    4. Displays for 4 seconds


  • #2
    This would be a nice feature.

    An Alternative Solution:
    [*] Create 'main' exe (project).[*] Upon the user clicking the 'Exit' button (and/or e_Key event fires):
             a. main exe, just before being destroyed, opens second exe
             b. second exe (image only) is executed (thus opens)
               Note:  second exe was 'installed' into current user's
                          'temp' folder during main exe intial execute state
                Also second exe (project) would be a 'Flat Style'[*] second exe runs for four (4) seconds and then closes.
    Last edited by Intrigued; 02-20-2004, 01:38 AM.


    • #3
      I wonder if it might be easiest if for step #2, you jump to the page that contains your splash graphic, and resize the window to be the exact size of that splash graphic. In other words, the project itself becomes your splash screen. A timer event on the page displays the page for your 4 seconds, then the project closes.

      I realize that this might not be exactly what you have in mind, but it should give you an awfully similar effect. Just a thought.


      • #4
        Here's a work-around

        Look in the Project/Actions/On Shutdown for the code. Simply uses the User32.DLL ShowWindow function to hide the current window, shows a Dialog.Splash for 5 seconds, then lets the app end.
        Attached Files


        • #5
          Uhhhh, I guess you don't even need the DLL call

          Put this in the On Shutdown event:
          Dialog.SplashImage("AutoPlay\\Images\\splash.jpg", 5, false)


          • #6
            Thanks Worm, worked like a charm! (the script)




            • #7
              No problem, sorry for the DLL confusion. Sometimes I forget all the new features that have been rolled into this version :