FIX: Click Event Of Straight Line Not Firing
Article ID: 140566
Article Last Modified on 3/24/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q140566
SYMPTOMS
When a horizontal or vertical line object is on a form and there is code in
the Click event of the line, the code will not execute if the line Width
property of a vertical line or Height property of a horizontal line is set
to 0.
WORKAROUND
For a verticle line, set the line object's Width property to at least 1 and
the BorderWidth property to at least 2. If the BorderWidth property is less
than 2, the vertical line will not be displayed correctly. For a horizontal
line, set the Height property to at least 1 and the BorderWidth property to
at least 1 (the default).
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.
Additional query words: line click
Keywords: kbbug kbfix kbvfp500fix KB140566