You can do this by drawing segments of lines and then making them invisible, and then depending on your need, you can control the segments programmatically in the Form's On Current or On Load etc events.
The catch here is that you have to control the lines using twips (1440 per inch).
Here is some code I used to make a Vertical line visible, 3 inches from the left, two inches from the top, and one inch long:
'-----
Private Sub Form_Current()
Me.Line30.Left = 4320
Me.Line30.Top = 2880
Me.Line30.Height = 1440
Me.Line30.Visible = True
End Sub
'-----
It's not elegant, but it will work. If you make your form templates have a library of invisible vertical, horizontal and which ever angle on them, then you can grab the ones you want and move them around with code.
HTH
mmcdonal
|