Font Used by @ ... PROMPT Command

Last reviewed: June 27, 1995
Article ID: Q100451
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

The font used by an @ ... PROMPT command in FoxPro for Windows is the Microsoft Windows system font, the same font that is used for all window titles and menu bars within the Windows environment. However, if the @ ... PROMPT command is in a window that has FoxFont as its font, the @ ... PROMPT command uses FoxFont instead of the Windows system font.

MORE INFORMATION

The following code example shows the difference between the two fonts:

   DEFINE WINDOW xxx FROM 1,1 SIZE 15,15 PANEL FONT "FoxFont",9
   ACTIVATE WINDOW xxx
   @ 2,2 PROMPT "One"
   @ 3,2 PROMPT "Two"
   @ 4,2 PROMPT "Three"
   STORE 1 TO mchoice
   MENU TO mchoice
   ? mchoice
   MODIFY WINDOW xxx FONT "Arial",12
   @ 6,2 PROMPT "One"
   @ 7,2 PROMPT "Two"
   @ 8,2 PROMPT "Three"
   STORE 1 TO mchoice
   MENU TO mchoice
   ? mchoice
   RELEASE WINDOW xxx

For information on how to change the Windows system font, query on the following words here in the Microsoft Knowledge Base:

   font and menu and bar and systemfont


Additional reference words: FoxWin 2.50 2.50a
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.