I'm wanting to draw a grid on a form using the line control, however it will take me ages to do it by hand! I was wondering how to create and draw lines on a form?
I tried using:
But I get an error about the object variable not being set? I've never used code to create objects on a form before, so I'm not really sure what I'm doing!Code:dim border as line
border.X1 = 8
border.Y1 = 8
... etc
Cheers,
-Sam :)

