BUG: Check Box & Radio Button Size Grows with 8-Point Font

Last reviewed: April 30, 1996
Article ID: Q115597
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a

SYMPTOMS

If a check box or radio button is defined in the Screen Generator with an 8- point font, the physical size of the check box or radio button will be larger than a check box or radio button defined in a larger font.

CAUSE

Opening the .SPR file reveals that the SIZE clause calculation for the 8- point object is larger than necessary. Although adjustment or removal of the SIZE clause will result in a correctly proportioned check box or radio button, this is not a valid workaround because the Screen Builder will regenerate the incorrect SIZE clause the next time the screen is generated.

RESOLUTION

Use a 9-point or larger font instead of an 8-point font.

STATUS

Microsoft has confirmed this to be a problem in FoxPro versions 2.5, 2.5a, 2.5b, and 2.6 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a screen.

  2. Add two check box objects.

  3. Select the first check box, and change the font to 8 points.

  4. Select the second check box, and change the font to 9 points or larger.

  5. Generate and run the screen.

The physical size of the check box using the 8-point font will be larger than the check box using the 9 or larger point font. This problem seems to occur only with 8-point objects. There is no discernible difference in the size of a check box between font sizes greater than 9 points.


Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a buglist2.50
buglist2.50a buglist2.50b buglist2.60 buglist2.60a pt pts
KBCategory: kbdisplay kbui kbbuglist
KBSubcategory: FxtoolSbuilder


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 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.