Microsoft KB Archive/112836

{| = BUG: SET BORDER TO DOUBLE Changes Borders in Catalog Manager =
 * width="100%"|

ID: Q112836

2.60   | 2.60 WINDOWS | MS-DOS kbother kbbuglist 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 Keywords         : FxtoolCatman kbbuglist Version          : 2.60    | 2.60 Platform         : MS-DOS WINDOWS
 * }