BUG: Mixed Case Option Does Not Function Properly in Beautify (201131)



The information in this article applies to:

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

This article was previously published under Q201131

SYMPTOMS

The Documenting Wizard and the Beautify command do not properly capitalize keywords when Mixed case is chosen as the keyword capitalization method.

RESOLUTION

One possible resolution is to USE the fdkeywrd.dbf file and change the capitalization of the keywords contained in the file. The following code accomplishes this:
   *-- Code begins here
   USE HOME()+"WIZARDS\FDKEYWRD"
   REPLACE ALL Token WITH PROPER(Token)
   USE
   *-- Code ends here
				

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Enter the following into an editing window:
        CLEAR
        SET CLOCK ON
        CLOSE DATA
    					
  2. Select the code. Right-click the Editing window and click Beautify.
  3. Click Mixed case in the Keywords list box. Click Run.

    Note that only CLEAR is changed to Mixed case capitalization.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbBug kbMiscTools kbXBase KB201131