Jump to content

Imagem animada

Recommended Posts


Oi Pessoal

Quero  colocar uma imagem (Bandeira de Portugal) a ondular numa Form, tenho este código mas não funciona

Tenho as imagens (10) metidas numa ImageList

Quem me dá uma dica como fazer ou corrigir ocodigo que apresento

 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

        PictureBox1.Image = ImageList1.Images(Animacao1)
        Animacao1 = +1
        If Animacao1 > ImageList1.Images.Count Then

            Animacao1 = 1
        End If

    End Sub

Share this post

Link to post
Share on other sites

Utiliza a minha biblioteca aNi :thumbsup:

É desenhada especialmente para esse efeito.

Sérgio Ribeiro

"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.