Microsoft KB Archive/100451: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 17: | Line 17: | ||
The following code example shows the difference between the two fonts: | The following code example shows the difference between the two fonts: | ||
<pre> DEFINE WINDOW xxx FROM 1,1 SIZE 15,15 PANEL FONT | <pre> DEFINE WINDOW xxx FROM 1,1 SIZE 15,15 PANEL FONT "FoxFont",9 | ||
ACTIVATE WINDOW xxx | ACTIVATE WINDOW xxx | ||
@ 2,2 PROMPT | @ 2,2 PROMPT "One" | ||
@ 3,2 PROMPT | @ 3,2 PROMPT "Two" | ||
@ 4,2 PROMPT | @ 4,2 PROMPT "Three" | ||
STORE 1 TO mchoice | STORE 1 TO mchoice | ||
MENU TO mchoice | MENU TO mchoice | ||
? mchoice | ? mchoice | ||
MODIFY WINDOW xxx FONT | MODIFY WINDOW xxx FONT "Arial",12 | ||
@ 6,2 PROMPT | @ 6,2 PROMPT "One" | ||
@ 7,2 PROMPT | @ 7,2 PROMPT "Two" | ||
@ 8,2 PROMPT | @ 8,2 PROMPT "Three" | ||
STORE 1 TO mchoice | STORE 1 TO mchoice | ||
MENU TO mchoice | MENU TO mchoice |
Latest revision as of 12:44, 19 July 2020
Font Used by @ ... PROMPT CommandID: Q100451 The information in this article applies to:
SUMMARYThe 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 INFORMATIONThe 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 |
Last Reviewed: June 27, 1995 |