Workbench User Guide : Generating Frames from Predefined Templates : The splash_screen Template : Create a Splash Screen Frame
 
Share this page          
Create a Splash Screen Frame
You can create a splash screen frame using the splash_screen frame template.
To create a frame using the splash_screen frame template
1. On the Develop tab, select the application in which you want to create the frame in the Applications portlet, and then select the header bar of the Components portlet to make it active.
2. Click File, New, User Frame.
The Create User Frame dialog appears.
3. Enter the component name in the Name field (for example, My_Splash_Screen).
4. (Optional) Enter a comment for the component in the Remark field.
5. Select Core from the Application list and the splash_screen template from the Template list.
6. Click Create.
The Splash Screen Assistant appears.
7. Enter the current version number of your application in the Application version field.
The version can include text as well as numbers (for example, 1.0 Beta).
8. Enter the number of seconds you want the splash screen frame to be displayed in the Display time (sec) field.
9. Click Generate.
The frame is created and displayed in the Frame Editor.
Note:  All the fields containing text are blank; the text strings only appear at runtime.
10. Change the default logo:
a. Select the image trim field in the upper left corner of the form, and then select the Image property in the Property Inspector.
A standard Browse dialog appears, displaying the default logo.
b. Click Browse.
A standard File Selection dialog appears.
c. Select a graphic file and click OK.
The selected logo appears in the Browse dialog.
11. Click OK.
The logo appears in the My_Splash_Screen frame.
12. Resize the graphic using either the field's resizing handles or by specifying its Height and Width properties.
13. (Optional) Specify other frame properties using the Property Inspector.
For more information about using the Property Inspector, see Set Frame Properties.
14. Click Debug, Go on the floating menu bar to preview the splash screen frame.