General Page
This page contains various options to configure the general operation of your 4D application.
Options
At startup
This option allows you to configure the default 4D display at startup, when the user launches only the application.
- Do nothing: Only the application window appears, empty.
- Open Local Project dialog: 4D displays a standard open document dialog box, allowing you to select a local project.
- Open last used project: 4D directly opens the last project used; no opening dialog box appears.
To force the display of the opening dialog box when this option is selected, hold down the Alt (Windows) or Option (macOS) key while launching the project.
- Open Remote Project dialog: 4D displays the standard 4D Server logon dialog, allowing you to select a project published on the network.
- Open Welcome Wizard dialog (factory setting): 4D displays the Welcome Wizard dialog box.
4D Server: The 4D Server application ignores this option. In this environment, the Do nothing mode is always used.
Automatic form creation
This option is only used in binary databases; it is ignored in project architecture. See doc.4d.com.
Window tabbing (macOS only)
Starting with macOS Sierra, Mac applications can benefit from the Automatic Window Tabbing feature that helps organizing multiple windows: document windows are stacked into a single parent window and can be browsed through tabs. This feature is useful on small screens and/or when using a trackpad.
You can benefit from this feature in the following environments (with 4D 64-bit versions only):
- Code Editor windows
- Form Editor windows
All windows from these editors can be put in tab form:
A set of commands in the Window menu allows managing the tabs:
In the 4D's Preferences dialog box, the Window tabbing option allows you to control this feature:
Three options are available:
- According to System Preferences (default): 4D windows will behave like defined in the macOS System Preferences (In full screen, Always, or Manually).
- Never: Opening a new document in 4D form editor or Code Editor will always result in creating a new window (tabs are never created).
- Always: Opening a new document in 4D form editor or method editors will always result in creating a new tab.
Appearance (macOS only)
This menu lets you select the color scheme to use for the 4D development environment. The specified scheme will be applied to all editors and windows of the Design mode.
You can also set the color scheme to use in your desktop applications in the "Interface" page of the Settings dialog box.
Three options are available:
- According to System Color Scheme Preferences (default): Use the color scheme defined in the macOS System Preferences.
- Light: Use the Light Theme
- Dark: Use the Dark Theme
This preference is only supported on macOS. On Windows, the "Light" scheme is always used.
Exit Design when going to Application Environment
If this option is checked, when the user switches to the Application environment using the Test Application menu command, all the windows of the Design environment are closed. If this option is not checked (factory setting), the windows of the Design environment remain visible in the background of the Application environment.
Enable binary database creation
If you check this option, two items are added in the File > New menu and the New toolbar button:
- Database...
- Database from Structure Definition...
These items allow you to create binary databases (see Creating a new database section). They are no longer proposed by default because 4D recommends using project-based architecture for new developments.