CurrentX, CurrentY
A number of form methods draw right on the form. These two properties track the position of the drawing pen.
Usage |
frmForm.CurrentX = nXPosition nXPosition = frmForm.CurrentX frmForm.CurrentY = nYPosition nYPosition = frmForm.CurrentY |
Example |
? _SCREEN.CurrentX, _SCREEN.CurrentY _SCREEN.Box(100, 100, 200, 250) ? _SCREEN.CurrentX, _SCREEN.CurrentY _SCREEN.CLS ? _SCREEN.CurrentX, _SCREEN.CurrentY _SCREEN.DrawWidth = 10 _SCREEN.PSet() ? _SCREEN.CurrentX, _SCREEN.CurrentY |
See Also |