PRB: Line Drawn with Line Method Is Behind Form's Objects (142399)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q142399 SYMPTOMS
Using the form's Line method to draw a line over an object during the
form's initialization causes the line to be behind the object.
CAUSE
If the Line method is called from either the form's Init event, or any
other event that fires when the form is initially started, the line will
actually be drawn prior to the placement of the form's objects. On slower
computers, this can be easily visualized. Because the line that is produced
by using the Line method of a form is not an object and therefore lacks any
properties that can be manipulated, it is not possible to force it to the
front of the object.
WORKAROUND
Following are three possible workarounds, in order of preference:
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB142399 |
---|
|