ID: Q109838
The information in this article applies to:
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.
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
Last Reviewed: June 27, 1995