BUG: DEFINE WINDOW IN SCREEN Causes "Not a User-Defined..."

Last reviewed: August 28, 1995
Article ID: Q121081
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6, 2.6a

SYMPTOMS

A DEFINE WINDOW statement using the IN SCREEN clause results in the error message "Not a user-defined window."

RESOLUTION

Choose a name for the window that does not begin with the word "screen".

STATUS

Microsoft has confirmed this to be a problem in Microsoft FoxPro versions 2.5x, 2.6, 2.6a 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 IN SCREEN clause of the DEFINE WINDOW command permits a window to be defined on the main FoxPro screen instead of within a window. This capability exists in both the MS-DOS and Windows versions of FoxPro.

In FoxPro for MS-DOS, using a window name beginning with the word "screen" in a DEFINE WINDOW ... IN SCREEN command produces the error message "Not a user-defined window." This behavior does not occur in FoxPro for Windows.

Steps to Reproduce Problem

In the Command window, type:

   DEFINE WINDOW screen1 FROM 5,5 TO 10,10 IN SCREEN

The error message mentioned above appears.

REFERENCES

FoxPro "Language Reference," versions 2.5, 2.6, page L3-427


Additional reference words: FoxDos buglist2.50 buglist2.50a buglist2.50b
buglist2.60 buglist2.60a 2.50 2.50a 2.50b 2.60 2.60a
KBCategory: kbprg kberrmsg kbbuglist
KBSubcategory:


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: August 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.