FIX: Class Designer Changes the Width of a Form ClassLast reviewed: February 20, 1997Article ID: Q148357 |
The information in this article applies to:
SYMPTOMSIn Visual FoxPro, Microsoft recommends that forms and classes be designed using the Foxels measurement instead of the Pixels measurement when an application is intended to be used across platforms or when the font metrics are likely to change (small to large, for example). However, if a Form class is created using the Class Designer with the scalemode set to Foxel and width set to a specific number, the width of the form may be reduced or enlarged depending on the font used. For example, it is reduced by twenty five percent (25%) after the class has been changed to Courier New from Arial, saved, and modified again. This is demonstrated in the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q129208 TITLE : Pixel Replaces Foxel as Default Scale Value in Design Mode WORKAROUNDTo prevents this from happening, change the Scalemode property to Pixels or don't change the Fontname property from Arial.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATION
Steps to Reproduce Problem
|
KBCategory: kbprg kbbuglist kbfixlist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |