PRB: What to Do If Syntax Coloring Is Not Working (157945)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 5.0
  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q157945

SYMPTOMS

After installing Visual FoxPro 5.0, color highlighting of key words and comment lines in FoxPro code may not be active.

CAUSE

This may be the result of installing version 5.0 in the same directory that Visual FoxPro 3.0 is in.

RESOLUTION

There are three places where you may need to change this: the Command window, Program windows, and Method Code windows. Use the following steps:

  1. Right-click or press the Shift+F10 keys in any of the above windows and select Properties.
  2. In the Properties window, check the box labeled "Syntax coloring."
  3. In the property sheet for Program and Method windows, check a second box called "Apply to .prg files" or "Apply to method code" if coloring of syntax is desired in all program files and all Method Code windows.

Modification Type:MajorLast Reviewed:10/15/2003
Keywords:kbsetup KB157945