[Gambas-user] Image to Picture

Shane shanep at ...2481...
Mon Dec 27 11:32:54 CET 2010


On 27/12/10 21:25, Shane wrote:
> using Gambas 3 I'm trying to copy a image to a picturebox at a certain
> location using this code
>
Woops Forgot I also do
PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h)
> 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?
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list