Siddhu
Apr 4th, 2000, 06:29 AM
How do wemake adrawingapp with openand save.Please i been trying to do this sience i started to vb6 .1yr is still done.Please.
DiGiTaIErRoR
Apr 4th, 2000, 07:16 PM
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:
Private pof as Boolean
In the Pictureboxes mousedown put:
pof = True
In the Pictureboxes mouseup put:
pof = False
In the Pictureboxes mousemove put:
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,