[Gambas-user] Moviebox with animated gif, need tranparent background

Ron ron at ...1740...
Sat Nov 26 11:15:00 CET 2011


I display movieboxes with an animated gifs, and have it use a transparent
background, the gifs are already transparant.

I can do this for TextLabel with property .Transparant, but how can I do
this for MovieBoxes?

Small code:

            WITH hMovieBox
              TRY .Path = "/some/animated.gif"
              .Height = 20
              .Width = 20
              .X = X
              .Y = Y
              .Playing = TRUE
            END WITH

If it can't be done with a MovieBox, how do you do it with a PictureBox?

Gambas2, qt.

Thanks for any pointers!

Regards,
Ron_2nd.



More information about the User mailing list