PRB: Line Drawn with Line Method Is Behind Form's ObjectsLast reviewed: January 15, 1996Article ID: Q142399 |
The information in this article applies to:
SYMPTOMSUsing 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.
CAUSEIf 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.
WORKAROUNDFollowing are three possible workarounds, in order of preference:
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional reference words: 3.00 3.00b VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |