Design Time Settings

Design Time settings control aspects of how forms look and behave when you are in Design Mode. You need these only if you are actively involved with creating or modifying forms in the system.

To make design time settings:

  1. Select View > User Preferences.
  2. Select the Design Time tab.
  3. Adjust the settings to your preferences.

    For details about the settings on this tab, see these tables:

General Settings

Setting Comments

Development Mode

This option controls how properties display in the Form and Component property sheets:

  • Normal mode - All properties are displayed; properties that do not apply to the current object are read-only.

  • Expert mode - Only properties that can be modified are displayed. The name and value of variables are not displayed as in Normal mode.

Show Hidden Components

When selected, hidden components on a form are displayed when you are in design mode. When cleared, components remain hidden.

Enforce Strict Locking of Forms and Objects

NOTE: This option applies only to those who have editing permissions of Site Developer or vendor developer.

When selected, this option causes the system to:

  • Automatically populate the LockedBy field with your user ID for any forms or global objects you create.

    This prevents anyone else from making changes until you check the form or object in.

  • Warn you if you are trying to open a form or global object that someone else has checked out.
  • Prevent you from saving a form or global object that someone else has checked out.

We recommend that this option be selected in any environment where there are multiple developers designing and/or modifying forms.

Guidelines Enter the width and height values in "character units" that you want to use for the grid.

These settings control:

  • The size of the grid display that displays on forms while in Design Mode, that is, the distance between the vertical and horizontal lines that are used to display the grid.
  • The locations to which components will be snapped if the Snap to grid option is selected.

Script Editor Settings

Setting Comments

WinStudio

WinStudio has a built-in script editor you can use to develop scripts. To use this built-in script editor, select this option.

This script editor is a very basic editor. If you plan to do any extensive form development and/or customization, we recommend that you use one of the Visual Studio options.

Visual Studio 2010

If you have Microsoft Visual Studio 2010 installed on your computer and you prefer to use that (instead of the built-in script editor) to develop scripts, select this option.

NOTE: Infor neither provides nor installs Visual Studio 2010 as part of its software. You can select this option only if you already have Visual Studio 2010 installed on the same computer that you are using to develop scripts.

Visual Studio Express VB

Visual Studio Express C#

If you have Visual Studio 2010 Express installed on your computer and you prefer to use that (instead of the built-in script editor) to develop scripts, select one of these options. You can specify whether you prefer to script in Visual Basic (VB) or C#.

Attaching the Visual Studio debugger to an external application such as WinStudio.exe to initiate an interactive debugging is not supported in the Visual Studio Express editions; it is supported for the full Standard, Professional, or Team editions of Visual Studio.

When you open the EditWinStudioScript project in Visual Studio Express from WinStudio, the script code class (ScriptClass.vb) is not automatically opened. You must open the ScriptClass.vb file from the Solution Explorer to edit the script.

NOTE: Infor neither provides nor installs Visual Studio 2010 Express as part of its software. You can select this option only if you already have Visual Studio 2010 Express installed on the same computer that you are using to develop scripts.

Visual Studio Options

Setting Comments

Visual Studio Modeless

This option is enabled only if you select the Visual Studio 2010 option.

In most cases, you should leave this check box selected. This minimizes the Edit Script in Visual Studio dialog box and makes it modeless; that is, as soon as you click Save in the Visual Studio IDE, the changes to your script are copied to the WinStudio cache and marked as modified. In addition, you can exit WinStudio Design Mode and still access the Visual Studio instance from Runtime Mode. For more information, see Edit or Create a Script with Visual Studio.

Enable the modal interface (that is, clear this check box) if you want to enforce modal dialog access to Visual Studio. In this case, you can only edit scripts while you are in Design Mode.

Path to Visual Studio Express Application

This option is enabled only if you select one of the Visual Studio Express options.

To instruct WinStudio where to find the Visual Studio Express application executable (.exe) file, click Browse. If you have selected one of the Visual Studio Express options, and you enter an incorrect path here or leave this field blank, an error displays when you leave this field.

Related Topics

Setting User Preferences

Diagnostics Settings

Runtime Settings

Event System Settings

Edit or Create a Script with Visual Studio