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

ID: Q115597

2.5x 2.60 2.60a WINDOWS kbdisplay kbui kbbuglist

The information in this article applies to:

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

Keywords          : FxtoolSbuilder kbbuglist
Version           : 2.5x 2.60 2.60a
Platform          : WINDOWS

Last Reviewed: May 2, 1996