There are times when developers want to hide the splash screen of a custom application. This tech tip describes how to do this by hiding 4D's default window.
- 1. Drag-launch the database structure file onto 4D Customizer Plus.
Note: Drag-launching ensures that you open the structure file that you intend to work with, since 4D Customizer Plus can be used to open and set general parameters of the structure file and data file of an application in 4D, 4D Runtime, 4D Server, 4D Client, plug-ins, development tools, and TCP/IP network component preferences.
- In the Customizer Plus window, double-click the Window icon.
Note: The icon is grayed-out. This is OK; you can still double-click it.
- Click OK in the resulting dialog.
- Select the "Constant size" radio button.
- Select "Hide window" from the pop-up menu.
Note: The pop-up does not display what you have chosen.
- Quit 4D Customizer Plus and click "Save" in the dialog box.
When you open your application, the default window, the window that displays a list of records in the User Environment and that displays the splash screen in the Custom Menus Environment, will be hidden.
That window can be displayed in the User Environment by using the following:
- Mac OS, Command + U
- Windows, Control + U
When you go to the Custom Menus Environment, the default window will be hidden and cannot be shown.