vTo draw a line on
Form1, call the procedure
oForm1.Line
(x1, y1) - (x2, y2)
v
v
v
vIf there is only one
form, the form name can be elided
vTo get a color,
follow the positioning information with the specification of the color
oForm1.Line
(x1, y1) - (x2, y2), RGB(255,255,255)
v