Skip to content

Class: SplashScreenPanel

Properties | Events | Methods | Index of Classes

Provides a way to display a splash screen in your application

Hierarchy

cObject > cUIObject > DfBaseObject > DfBaseWindow > DfBaseUIWindow > DfBaseContainer > DfBaseDialog > DfBasePanel > DfBaseToolPanel > FloatingPanel > ToolPanel > SplashScreenPanel

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: Startup.pkg

Description

The SplashScreenPanel allows you to add a logo splashscreen to your applications and include a startup sound (wave file) if you wish. Note that the splash screen object should be deactivated before your main panel is activated to avoid focus tree problems.

The Bitmap file is specificied by the Bitmap property

The wave file can be specified by the wavefile property.

Example Usage

// added towards the start of your application
Object oSplashScreen Is A SplashScreenPanel
    Set Bitmap To 'MYLOGO.BMP'
    Set WaveFile To 'tada.wav'
End_Object
Send Activate of  oSplashScreen 
:
: ... additional program initialization
:
Send Deactivate of oSplashScreen   // Remove splash screen

See Also

Bitmap | WaveFile