Results 1 to 2 of 2

Thread: Howto make a drawing app

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    2
    How do wemake adrawingapp with openand save.Please i been trying to do this sience i started to vb6 .1yr is still done.Please.

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Well if you want a simply follow the mouse type of drawing program then you can do this:
    Create a PictureBox.
    In the form's declarations put:
    Code:
    Private pof as Boolean
    In the Pictureboxes mousedown put:
    Code:
    pof = True
    In the Pictureboxes mouseup put:
    Code:
    pof = False
    In the Pictureboxes mousemove put:
    Code:
    Static mx, my
    If pof = true then Picture1.Line (mx,my)-(x,y)
    mx = x
    my = y
    That's it! It hasn't been tested but should work.
    Good luck,

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