BUG: SET BORDER TO DOUBLE Changes Borders in Catalog Manager

Last reviewed: April 30, 1996
Article ID: Q112836
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6
  • Microsoft FoxPro for MS-DOS, version 2.6

SYMPTOMS

After a program is executed through the Catalog Manager, the appearance of the list box in the Catalog Manager window is different.

CAUSE

The Catalog Manager does not issue a SET BORDER TO command to restore the border to the default after executing a program.

RESOLUTION

To restore the default border, issue the SET BORDER TO command at the end of the program that is being executed.

STATUS

Microsoft has confirmed this to be a problem in FoxPro 2.6 for Windows and FoxPro 2.6 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The appearance of the list box will also be incorrect if the SET BORDER TO DOUBLE command is issued before the Catalog Manager is started.

Steps to Reproduce Problem

  1. In the Catalog Manager select the Program tab.

  2. Choose the New button. In the resulting dialog box, choose New Program.

  3. Save the program as TEST.PRG.

  4. Type the following lines of code into the program editing window:

          SET TALK OFF
          WAIT WINDOW "BORDER IS: "+SET('BORDER')
          IF SET('BORDER')<>"DOUBLE"
    
            SET BORDER TO DOUBLE
          ELSE
            SET BORDER TO
          ENDIF
          WAIT WINDOW "BORDER IS CHANGED TO: "+SET('BORDER')
    
    

  5. Press CTRL+W to save and close the program and return to Catalog Manager.

  6. Choose the Run button. Press any key to clear the messages.

    Note that when you return to Catalog Manager, the borders around the list of programs are thicker in FoxPro for Windows and appear as double lines in FoxPro for MS-DOS.

  7. Choose the Run button again. Press any key to clear the messages. Note that when you return to Catalog Manager, the borders are back to normal.


Additional reference words: FoxDos FoxWin 2.60 buglist2.60 catman border
list box
KBCategory: kbother kbbuglist
KBSubcategory: FxtoolCatman


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.