BUG: Popup with FoxFont Font Scrolls Down When Displayed

ID: Q110379

The information in this article applies to:

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

Last Reviewed: June 27, 1995