Configuring a script editor

WinStudio supports a built-in full-featured script editor; or, if Microsoft Visual Studio is installed on your client computer, you can choose to use  the Visual Studio IDE as a script editor.

  1. Close any open forms.
  2. From the View menu, select User Preferences.
  3. Select the Runtime Behaviors tab.
  4. Clear Optimize Script Execution.
    注意:
    • The check box is selected by default to improve load and compile time of scripts in Runtime Mode. To edit scripts in Design Mode, you must clear the box to prevent assembly-locking and memory penalties.
    • If a form is open when you change this setting, the setting reverts to its previous value.
  5. Select the Design Time tab.
  6. In the Script Editor group box, specify which script editor WinStudio is to use.
    注意: To select the Visual Studio option, you must already have Visual Studio installed and configured on your system.  
  7. Optionally, if you are using Visual Studio as your script editor, use the Visual Studio Modeless check box to specify whether you want to edit scripts modally or not (see Editing or creating a script with Visual Studio).
相关主题