Microsoft KB Archive/181392

= PRB: Some Keywords Are Not Highlighted =

Article ID: 181392

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q181392



SYMPTOMS
Some Visual FoxPro keywords, like Release in ThisForm.Release, do not show up has highlighted words in the object's code window or the Command window.



RESOLUTION
The color of text in Visual FoxPro code can be changed using the Syntax Coloring tab of the Options dialog box that is accessed from the Tools menu. The Area drop-down list box in the Syntax color settings section is used to select different parts of the Visual FoxPro language for setting syntax coloring.

To get keywords such as RELEASE and WHATSTHISHELP to use the same color as other Visual FoxPro keywords, set the Area to Variables and set the Foreground to Blue or to the color that the Keywords area is using.

NOTE: After setting the Variables item to the specified color, all custom variables that are created will be the same color as the keywords and commands.



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
 Create a form and add a command button. Double-click the command button to open the code window for the Click event.  Type the following commands: thisform.RELEASE thisform.WHATSTHISHELP thisform.WHATSTHISBUTTON thisform.REFRESH thisform.ACTIVATE  The properties or events of the first three commands are not properly highlighted in the code window. However, the last two commands are properly highlighted. Close and do not save the form.</ol>

Keywords: kbprb KB181392

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.