Microsoft KB Archive/109838

{| = SET MESSAGE TO  Doesn't Affect @ ... GET Commands =
 * width="100%"|

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  command has no effect on the MESSAGE clause of the @ ... GET commands. According to the online help system, the SET MESSAGE TO  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
 * }