Results 1 to 2 of 2

Thread: look this...what is it?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Location
    Ede, Gelderland, Nederland
    Posts
    26

    Arrow

    Code:
    Sub TekenPlakrand(Xt As Single, Yt As Single, Xp As Single, Yp As Single, B As Single, Pos As Integer, Stijl As Integer, Kleur As OLE_COLOR)
        
        With frmMain
            .P.DrawStyle = Stijl
            
            Select Case Pos
                Case 0
                    .P.Line (Xt, Yt)-(Xt + B, Yt - B), k.KnipKleur
                    .P.Line -(Xp - B, Yt - B), k.KnipKleur
                    .P.Line -(Xp, Yp), k.KnipKleur
                Case 1
                    .P.Line (Xt, Yt)-(Xt + B, Yt + B), k.KnipKleur
                    .P.Line -(Xt + B, Yp - B), k.KnipKleur
                    .P.Line -(Xp, Yp), k.KnipKleur
                Case 2
                    .P.Line (Xt, Yt)-(Xt + B, Yt + B), k.KnipKleur
                    .P.Line -(Xp - B, Yt + B), k.KnipKleur
                    .P.Line -(Xp, Yp), k.KnipKleur
            End Select
        End With
    End Sub
    LauPro

  2. #2
    Frenzied Member
    Join Date
    Jun 2000
    Location
    England, Buckingham
    Posts
    1,341
    It uses a whole load of coordinates to draw lines on the object p on frmmain with the color of k.KnipKleur.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width