KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Opening Preferences in 4D
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: September 23, 2004
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

In previous versions of 4D, preferences like Web settings, Backup settings, and Compilation settings were only available through the menu bar. Now, in 2004, these preferences can be opened using a new command called OPEN 4D PREFERENCES.

The command accepts one parameter of type string, which is a string that identifies the type of "Theme" to open. For example, if you wanted your users to be able to edit Web settings from Custom Menus Mode, you could use the command as follows:

OPEN 4D PREFERENCES("/Web")

This would open the preferences window and automatically open the Web settings. Likewise, to open the first page of preferences (no theme) use:

OPEN 4D PREFERENCES("/")

Please see the 4D documentation page: OPEN 4D PREFERENCES for a complete list of Themes and more information about the command.