Microsoft KB Archive/137060

= FIX: FontSize=1 Causes Visual FoxPro to Terminate w/Windows 95 =

Article ID: 137060

Article Last Modified on 3/24/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q137060



SYMPTOMS
Visual FoxPro verion 3.0 running in Windows 95 will terminate if the FontSize of an object is 1.



WORKAROUND
If the FontSize of an object can be set programmatically, remove "1" as a possible choice.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.



Steps to Reproduce Problem
 Create a form, and change the FontSize property to 1. Run the form, and verify that the form runs correctly. Modify the form, and set the FontSize property to the default (10). Place an EditBox and a Spinner object on the Form.  In the EditBox Click event procedure, enter this line of code: This.FontSize = ThisForm.Spinner1.Value  Run the form, and enter a value greater 1 in the Spinner control and type some information into the EditBox control. Verify that the FontSize is in accordance with the Spinner control value.</li> Change the Spinner control value to "1" and click the EditBox control. A fault (either a Page Fault or a Divide By Zero fault) will occur and Visual FoxPro will exit.</li></ol>

Additional query words: VFoxWin fixlist3.00b buglist3.00

Keywords: kbbug kbfix KB137060

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.