Microsoft KB Archive/107839: Difference between revisions
m (Text replacement - ">" to ">") |
m (Text replacement - "&" to "&") |
||
Line 53: | Line 53: | ||
== SUMMARY == | == SUMMARY == | ||
The FoxPro 2.5 for MS-DOS and Windows "Language Reference" (page L3-250), the FoxPro 2.0 for MS-DOS "Commands & | The FoxPro 2.5 for MS-DOS and Windows "Language Reference" (page L3-250), the FoxPro 2.0 for MS-DOS "Commands & Functions" manual, and the Visual FoxPro online Help incorrectlystate that the BROWSE IN SCREEN command places a Browse window on the desktop in FoxPro for MS-DOS or in the main window in FoxPro for Windows, even if a user-defined window is active.<br /> | ||
<br /> | <br /> | ||
Instead, to place a Browse window in the default size and location, you must also issue the NORMAL clause. | Instead, to place a Browse window in the default size and location, you must also issue the NORMAL clause. | ||
Line 70: | Line 70: | ||
DEFINE WINDOW test FROM 1,1 TO 20,20<br /> | DEFINE WINDOW test FROM 1,1 TO 20,20<br /> | ||
ACTIVATE WINDOW test<br /> | ACTIVATE WINDOW test<br /> | ||
@1,1 SAY "hello" & | @1,1 SAY "hello" && test is the current output window<br /> | ||
BROWSE IN SCREEN | BROWSE IN SCREEN | ||
Line 83: | Line 83: | ||
DEFINE WINDOW test FROM 1,1 TO 20,20<br /> | DEFINE WINDOW test FROM 1,1 TO 20,20<br /> | ||
ACTIVATE WINDOW test<br /> | ACTIVATE WINDOW test<br /> | ||
@1,1 SAY "hello" & | @1,1 SAY "hello" && test is the current output window<br /> | ||
BROWSE IN SCREEN NORMAL | BROWSE IN SCREEN NORMAL | ||
Latest revision as of 11:24, 21 July 2020
Article ID: 107839
Article Last Modified on 3/3/2005
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 6.0 Professional Edition
- Microsoft FoxPro 2.0
- Microsoft FoxPro 2.5b for MS-DOS
- Microsoft FoxPro 2.5a
- Microsoft FoxPro 2.5b for MS-DOS
- Microsoft FoxPro 2.5b
- Microsoft FoxPro 2.5a
- Microsoft FoxPro 2.5b
This article was previously published under Q107839
SUMMARY
The FoxPro 2.5 for MS-DOS and Windows "Language Reference" (page L3-250), the FoxPro 2.0 for MS-DOS "Commands & Functions" manual, and the Visual FoxPro online Help incorrectlystate that the BROWSE IN SCREEN command places a Browse window on the desktop in FoxPro for MS-DOS or in the main window in FoxPro for Windows, even if a user-defined window is active.
Instead, to place a Browse window in the default size and location, you must also issue the NORMAL clause.
MORE INFORMATION
Steps to Reproduce Behavior
The following series of commands illustrates this behavior:
USE <filename>
DEFINE WINDOW test FROM 1,1 TO 20,20
ACTIVATE WINDOW test
@1,1 SAY "hello" && test is the current output window
BROWSE IN SCREEN
Note that the Browse information is displayed in the window "test".
To correct this problem, issue the following series of commands:
USE <filename>
DEFINE WINDOW test FROM 1,1 TO 20,20
ACTIVATE WINDOW test
@1,1 SAY "hello" && test is the current output window
BROWSE IN SCREEN NORMAL
Additional query words: VFoxWin FoxWin FoxDos docerr
Keywords: kbinfo KB107839