[Gambas-user] Image to Picture

Shane shanep at ...2481...
Mon Dec 27 11:25:53 CET 2010


using Gambas 3 I'm trying to copy a image to a picturebox at a certain 
location using this code

Draw.Begin(PictureBox1.Picture)
     
Draw.Image(myimage,(PictureBox1.w-myimage.w)/2,(PictureBox1.h-myimage.w)/2)
Draw.End

But All I get Is Stray Data From The Screen

what Am i Doing Wrong?





More information about the User mailing list