BROWSE IN SCREEN Uses Active Window

ID: Q107839

2.00 2.50 2.50a 2.50b | 2.50 2.50a 2.50b 3.00

MS-DOS                | WINDOWS
kbprg kbdocerr

The information in this article applies to:

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 reference words: VFoxWin 3.00 FoxWin FoxDos 2.00 2.50 2.50a 2.50b docerr KBCategory: kbprg kbdocerr KBSubcategory: FxprgBrowse
Keywords          : FxprgBrowse 
Version           : 2.00 2.50 2.50a 2.50b | 2.50 2.5
Platform          : MS-DOS WINDOWS

Last Reviewed: April 30, 1996