[Gambas-devel] QT component / Bug

Benoit Minisini gambas at ...1...
Mon May 31 13:23:26 CEST 2004


On Monday 31 May 2004 12:56, Daniel Campos wrote:
> This is a Bug (I think):
>
> When Copying a Picture in another picture, transparency (alpha)
> information is lost. Try the first example (with an icon called
> 'execution.png' in the project, having alpha):
>
> PUBLIC SUB Button1_Click()
>   DIM Pepe AS NEW Picture
>
>   Pepe.Load("execution.png")
>   ME.Icon=Pepe
>
> END
>
>
> You will see that the form icon has a transparent icon.
>
> Now try this:
>
> PUBLIC SUB Button1_Click()
>   DIM Pepe AS NEW Picture
>   DIM Jose AS Picture
>
>   Pepe.Load("execution.png")
>   Jose=pepe.Copy()
>   ME.Icon=Jose
>
> END
>
> The new icon is not transparent!
>
> Regards,
>
>
> (Icon taken from 'Genecode')

OK. Fixed...

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list