BUG: Popup with FoxFont Font Scrolls Down When Displayed

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

SYMPTOMS

A GET popup defined with FoxFont and activated in a window that uses FoxFont appears a few pixels lower than defined when it is displayed. This behavior does not appear to occur with any other object.

RESOLUTION

If the window is defined with a font other than FoxFont, the popup will be displayed at the correct location. If, however, you must use FoxFont as the screen font, position the popup higher than the rest of the line. In some cases, moving the text label itself higher or lower will work.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The following code illustrates the problem:

   DEFINE WINDOW mywin FROM 10,40 TO 20,80 FONT 'FoxFont', 9 SYSTEM
   ACTIVATE WINDOW mywin
   @ 2,2 GET m.pop PICTURE '@^ TEST' SIZE 1.5, 10 DEFAULT 'POP' ;
      FONT 'Foxfont',9
   @ 2,2 to 2,30 PEN 1,8 STYLE '1'
   READ
   RELEASE WINDOW mywin

The PEN line demonstrates where row 2 is. When this sample code is run, the popup displays several pixels below the line.


Additional reference words: FoxMac FoxWin 2.50 2.50a 2.50b buglist2.50
buglist2.50a
buglist2.50b
KBCategory: kbprg kbbuglist
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.