共用方式為


Editor Tab, Options Dialog Box

Contains options to specify color and font to identify Visual FoxPro program elements, such as keywords and comments, in the command window and in all editing windows — except those opened with the MODIFY FILE Command or MODIFY MEMO Command.

When you choose Set As Default — which appears on every tab in the dialog box — Visual FoxPro saves the option settings in the registry (system Windows registration database).

Editor options

Makes it possible for you to specify functionality common to all Visual FoxPro editors.

  • Selection margin
    Makes it possible for you to specify whether editors display a selection margin so you can highlight a line and specify breakpoints, or Bookmarks and Shortcuts.
  • Enable hyperlinks
    Specifies whether editor windows recogize "http:/" as hyperlink and your entry as such.
  • Drag Drop between words
    Specifies whether drag and drop behavior permits dragging into words or only between words.
  • Comment string
    Specifies the character that identifies a comment in code. The default comment string is *!*
  • List display count
    Specifies the maximum number of items in a dropdown list.
  • Highlight duration
    Specifies the number of milliseconds to highlight statements in parenthetical or bracket delimiters. You can select one of the settings from the list, or type any specific duration into the box manually.

Syntax color settings

Makes it possible for you to specify characteristics of syntax coloring.

  • Area
    Choose the type of program element to set font and color options for. When you make your selection, the other controls are updated with values for the selected area.

  • Font style
    Choose a font style for the specified area. For example, to display all comments in your programs italic, select Comments in the Area box, then select Italic in the Font style box.

  • Foreground
    Choose a color for the text of the selected area. To use the default color established in the Control Panel, select Automatic.

  • Background
    Choose a background color for the selected area. For example, to show comments in yellow text on a blue background, choose Comments in the Area box, select yellow in Foreground, and then select blue in Background. To use the default color established in the Control Panel, select Automatic.

    The sample area displays the effect of your settings.

  • Reset All
    Choose this option to set syntax coloring to the Visual FoxPro default settings.

See Also

Edit Properties Dialog Box | MODIFY FILE Command | MODIFY MEMO Command | Options Dialog Box