Drive Popup of Prompt Files Popup Not in Same Font

Last reviewed: April 29, 1996
Article ID: Q95377
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

An @ ... GET-List command from a Prompt Files popup does not display the drive popup in the font specified by the FONT clause.

MORE INFORMATION

On page L3-75 of the "Language Reference" manual, the Font section of the @ ... GET-List command mentions that a font can be specified for a list. The list itself will be displayed in the font specified, but the drive popup (which is displayed by selecting the first option in the list) will not be displayed in the specified font.

The following code demonstrates this behavior:

   CLEAR
   SET TALK OFF
   STORE 1 TO mchoice

   DEFINE POPUP scrollopts FROM 0, 0 PROMPT FILES LIKE *.DBF MARGIN ;
   SCROLL

   @ 2,2 GET mchoice POPUP scrollopts SIZE 8, 20 font "ROMAN",16

   READ && Activate the list.

The font used for the drive popup cannot be specified because it is a "true" popup (that is, a popup created with the DEFINE POPUP command). True popups use whatever font is specified as the Windows system font.

The Windows system font is the font used in title bars and menu bars for all applications running under Windows. For more information about the Windows system font, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID:Q97160
   TITLE     :How to Change the Font of FoxPro for Windows Menu Bar

   ARTICLE-ID:Q80153
   TITLE     :How to Change Windows System Font


Additional reference words: VFoxWin 3.00 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: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.