Article ID: 142399
Article Last Modified on 9/30/2003
IF !ThisForm.zLineDraw
ThisForm.Line(<nXCoord2>, <nYCoord2>)
ThisForm.zLineDraw = .T.
ENDIF
-or-
* The following code determines the x and y coordinates * of the Shape1 object. xLeft = This.Shape1.Left yTop = This.Shape1.Top xRight = This.Shape1.Left + This.Shape1.Width yBottom = This.Shape1.Top + This.Shape1.Height * The following code draws an "X" in the area of the Shape1 object. ThisForm.Line(xLeft,yTop,xRight,yBottom) ThisForm.Line(xRight,yTop,xLeft,yBottom)
Additional query words: VFoxWin
Keywords: KB142399