Documentation Center

View menu

The View menu provides the normal operations on Editor windows and display setting.

Macro

Displays or activates the Code window for a currently selected macro or module. This function can also be invoked with the keystroke CTRL+A.

Immediate

Displays the Immediate window and displays information resulting from debugging statements in your code or from commands typed directly into the window. This function can also be invoked with the keystroke CTRL+G.

Use the Immediate window to:

  • Test problematic or newly written code.
  • Query or change the value of a variable while running an application. While execution is halted, assign the variable a new value as you would in code.
  • Query or change a property value while running an application.
  • Call procedures as you would in code.
  • View debugging output while the program is running.

Watch

Displays the Watch window and displays the current watch expressions. The Watch window appears automatically if watch expressions are defined in the macro.

If the context of the expression isn't in scope when going to break mode, the current value isn't displayed. This function can also be invoked with the keystroke CTRL+W.

Stack

Displays the Call Stack window, which lists the procedures that have started but are not completed. Available only in break mode.

When Sax Basic is executing the code in a procedure, that procedure is added to a list of active procedure calls. If that procedure then calls another procedure, there are two procedures on the list of active procedure calls. Each time a procedure calls another Sub, Function, or Property procedure, it is added to the list. Each procedure is removed from the list as execution is returned to the calling procedure. This function can also be invoked with the keystroke CTRL+T.

Loaded

The debugger provides a list of all the currently active macros and loaded modules. This function shows the Loaded window and can also be invoked with the keystroke CTRL+L.

Toolbar

Toggles the toolbar on and off.

Status Bar

Toggles the status bar on and off.

Edit Buttons

Toggles the edit buttons on and off. If the edit buttons are on, 5 additional icons are displayed in the toolbar.

Always Split

Toggles the split of the Code window on and off. If the split is on, the Immediate Window will always be displayed.

Font...

Use to change the fonts, the font size, and/or the font style you use for text and data fields.

Font

Lists all the fonts that you have installed for Windows. When the box first appears, the font already in use for the selected element is highlighted.

Font Style

Lists four additional attributes that you can assign to the font selected:

  • Regular: Standard, unmodified style
  • Bold: Boldface
  • Italic: Italic
  • Bold Italic: Bold Italic

Size

Lists common point sizes for the highlighted font. When the box first appears, the point size for the font already in use for the selected element is highlighted, and the highlighted point size appears in the edit box at the top.

You can select directly from the list or type the new point size in the edit box at the top (if you know that you have additional sizes installed for the currently selected printer or if you are using scalable type).

Sample

Displays a sample of the font you have selected. The sample shows the font, style, size, effects, and color you have specified. You can use this box to preview the results as you experiment with different formatting options.

Script

Displays a list of available scripts.

OK

Applies the font changes to the selected report element.

Cancel

Cancels all font changes and leaves the selected element report unchanged.

Tab Width

Sets the tab width, which can range from 1 to 8 spaces; the default is 4 spaces.

Object/Proc

Selects the display settings for the Object and Procedures/Events Box within the Code Window. The selectable settings are:

  • Neither: None of the boxes are displayed.
  • Proc only: Only the Procedures/Events Box is displayed.
  • Both: The Object and Procedures/Events Box are displayed.