Microsoft KB Archive/133100

= FIX: Timer is Visible on a Form After Using Graphics Methods =

Article ID: 133100

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q133100



SYMPTOMS
The timer control is visible on a form at run time when it should not be.



WORKAROUND
Set the coordinates of the timer control to an off-screen location. For example, add the following lines to the code in the form's Init event: thisform.timer1.left = -100 thisform.timer1.top = -100



STATUS
Microsoft 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.



Steps to Reproduce Problem
 Create a form named Test. Add a timer control to the Test form.  In the form's Init event, type: thisform.width = 500 thisform.height = 500 thisform.fillstyle = 0 thisform.fillcolor = rgb(255,0,0) thisform.box(0,0,thisform.width,thisform.height)  Save and run the form.

The form's Fillcolor property is set to a color other than the backcolor of the form, and a box is drawn around the area that contains the timer. When you run the form, a white rectangle appears where the timer is located.

Keywords: kbbug kbfix kbvfp500fix KB133100

-

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

© Microsoft Corporation. All rights reserved.