OPEN 4D PREFERENCES

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004.5 (Modified)


OPEN 4D PREFERENCES (selector)

ParameterTypeDescription
selectorStringKey designating a theme or a page or a
group of parameters in the Preferences
dialog box

Description

The OPEN 4D PREFERENCES command provokes the display of the Preferences dialog box of the current 4th Dimension application and the display of the theme or page corresponding to the key passed in selector.

The selector parameter must contain one or more "keys" indicating a theme, page or group of parameters in the Preferences dialog box. The list of keys that can be used is provided below.

You can pass either a fixed access path or the name of a single element in selector:

Fixed access path: The selector parameter is put together in the following manner: /Theme{/Page{/Parameter group}}.

The string must start with the / character and each level must be separated with a /.

For example, to set the Compiler page of the Design Mode theme, selector must contain "/Design Mode/Compiler".

Name (relative path): In this case, the selector parameter cannot start with the / character. Simply pass the name of the desired element and 4th Dimension will open the first corresponding element in the following search order: parameter group -> page-> theme.

For example, if you pass "Progress Indicator" in selector, 4th Dimension will open the Options page of the Application theme.

To open the dialog box directly on the first page, simply pass "/" in selector.

The command opens the Preferences page on the element specified in selector; however, all other themes and pages remain accessible. It is up to the developer to make sure that user access to Preferences does not hinder the application. To control user actions, it is recommended that you enable the user access management system.

Path keys

The following is a list of keys that can be used in the selector parameter:

/Application

/Application/Options

/Application/Options/Options

/Application/Options/Temporary Folder Location

/Application/Options/Drag and Drop Highlight

/Application/Options/Progress Indicator

/Application/Options/Display Toolbar

/Application/Options/Display Windows

/Application/Access

/Application/Access/Data Access

/Application/Access/User Access

/Application/CPU Priorities

/Application/CPU Priorities/Set CPU Priority to:

/Application/Shortcuts

/Application/Shortcuts/Keys

/Application/Compatibility

/Application/Compatibility/Structure Compatibility

/Application/Compatibility/Web Compatibility

/Application/Compatibility/Platform

/Design Mode

/Design Mode/Structure

/Design Mode/Structure/General Font

/Design Mode/Structure/Forms and Methods Automatic Comments

/Design Mode/Form Editor

/Design Mode/Form Editor/Object Templates

/Design Mode/Form Editor/Move

/Design Mode/Form Editor/Auto Alignment

/Design Mode/Form Editor/Default Display

/Design Mode/Method Editor

/Design Mode/Method Editor/Font

/Design Mode/Method Editor/Default Display

/Design Mode/Method Editor/Options

/Design Mode/Method Editor/Structure Style-Sheets

/Design Mode/Compiler

/Design Mode/Compiler/Compilation Options

/Design Mode/Compiler/Compiler Methods for...

/Design Mode/Documentation

/Design Mode/Documentation/Documentation Access from the Explorer

/Database

/Database/Data Management

/Database/Data Management/General

/Database/Data Management/Database Cache Settings

/Database/Data Management/WEDD

/Database/Script Manager

/Database/Script Manager/Script Manager

/Backup

/Backup/Configuration

/Backup/Configuration/Backup Contents

/Backup/Configuration/Backup File Destination Folder

/Backup/Configuration/Last Backup Information

/Backup/Configuration/Log Management

/Backup/Scheduler

/Backup/Scheduler/Backup Frequency

/Backup/Backup

/Backup/Backup/General

/Backup/Backup/Archive

/Backup/Restore

/Backup/Restore/Automatic Restore

/Client-Server

/Client-Server/Configuration

/Client-Server/Configuration/Network

/Client-Server/Configuration/Client-Server Connections Timeout

/Client-Server/Configuration/Client-Server Communication

/Client-Server/Configuration/4D Open

/Client-Server/Publishing

/Client-Server/Publishing/Publishing Information

/Client-Server/Publishing/Allow-Deny Table Configuration

/Client-Server/Publishing/Encryption

/Web

/Web/Configuration

/Web/Configuration/Web Server Publishing

/Web/Configuration/Default HTML Path

/Web/Configuration/Starting Mode

/Web/Advanced

/Web/Advanced/Cache

/Web/Advanced/Web Process

/Web/Advanced/Options

/Web/Advanced/Web Passwords

/Web/Options

/Web/Options/Text Conversion

/Web/Options/Persisent Connections

/Web Services

/Web Services/SOAP

/Web Services/SOAP/Server Side

/Web Services/SOAP/Client Side

Examples

1. Open Preferences on the first page:

   OPEN 4D PREFERENCES("/")

2. Open the "Shortcuts" page of the "Application" theme:

   OPEN 4D PREFERENCES("/Application/Shortcuts")

3. Open the "Method Editor" page of the "Design Mode" theme:

   OPEN 4D PREFERENCES("Default Display")

System Variables or Sets

If the requested element is found and opened correctly, the system variable OK returns 1. Otherwise, it returns 0.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next