
Draws a line in a WinBatch box.
BoxDrawLine(box ID, coordinates)
(i) box ID the ID number of the desired WinBatch box.
(s) coordinates starting and ending points for a line, in virtual units (start-x, start-y, end-x, end-y).
(i) @TRUE on success; @FALSE on failure.
Draws a line from first point to the second using the current BoxPen.
1000x1000 virtual screen size is based on the primary monitor in a multi-monitor display configuration.
;; sample script for BoxDrawLine
BoxesUp("100,100,800,800", @NORMAL)
BoxDrawText(1, "0,600,1000,1000", "WinBatch Box Example - BoxDrawLine ", @FALSE, 1)
BoxCaption(1, "WinBatch BoxDrawLine Example")
co1=200
co2=200
co3=500
co4=500
For i=1 To 5
TimeDelay(1)
BoxDrawLine(1,"%co1%,%co2%,%co3%,%co4%")
co1=co1+10
co2=co2+-20
co3=co3+-5
co4=co4+15
Next
TimeDelay(2)