SET MESSAGE TO <ExpN> Doesn't Affect @ ... GET Commands

Last reviewed: June 27, 1995
Article ID: Q109838
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b
  • Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, and 2.5b
  • Microsoft FoxPro for Macintosh, versions 2.5b

SUMMARY

The SET MESSAGE TO <expN> command has no effect on the MESSAGE clause of the @ ... GET commands. According to the online help system, the SET MESSAGE TO <expN> command lets you specify where to display messages created with @ ... PROMPT, DEFINE BAR, DEFINE MENU, DEFINE PAD, or DEFINE POPUP.

MORE INFORMATION

To demonstrate this behavior, issue the following commands from the Command window:

   SET STATUS BAR OFF
   SET STATUS OFF
   SET MESSAGE TO 3    && this command will be ignored
   @ 1,1 GET memvar DEFAULT 1 MESSAGE "This is test"
   READ

In FoxPro for MS-DOS, messages are displayed on the last line of the desktop by default. In FoxPro for Windows and FoxPro for Macintosh, messages are placed on the last line of the main FoxPro window if the Windows-style status bar is not displayed. If the Windows-style status bar is displayed, messages are automatically placed in the status bar.

NOTE: In FoxPro 2.5 for Windows, messages on the @ ... GET commands do not display on the last line of the main FoxPro window even though the status bar is not displayed. This problem was corrected in FoxPro 2.5a for Windows.


Additional reference words: FoxMac FoxDos FoxWin 2.50 2.50a 2.50b
KBCategory: kbprg
KBSubcategory: FxprgGeneral


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