[Gambas-user] Image to Picture

Fabien Bodard gambas.fr at ...626...
Mon Dec 27 11:48:09 CET 2010


2010/12/27 Shane <shanep at ...2481...>:
> On 27/12/10 21:36, Fabien Bodard wrote:
>> try to add
>>
>>
>> Picturebox.Picture.Fill(gb.Transparent)
>>
>> after setting the new picture
>>
> Tried This
>
> 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
>
> PictureBox1.Picture.Fill(Color.Transparent)
>
> Their is no gb.transparent
no gb.transparent
but color.transparent
http://gambasdoc.org/help/comp/gb.qt/color/transparent
>
> ------------------------------------------------------------------------------
> 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
>



-- 
Fabien Bodard




More information about the User mailing list