PDA

Click to See Complete Forum and Search --> : Animated Buttons


nick79
Aug 29th, 2001, 04:11 AM
Does anyone know how can i put a gif animation on a button?

thanks in advance

mlewis
Aug 29th, 2001, 12:54 PM
Like a standard VB command button?

Fishcake
Aug 29th, 2001, 04:26 PM
Might just be easier to show the gif in a different kind of control and then just make that control look/act like a button.

mlewis
Aug 30th, 2001, 07:21 AM
That's what I would suggest.

The alternative is to draw the gif frame by frame in a hidden box and update the button's image with a timer control, but that's a messy cludge and would require a lot of API work to get the picture from the hidden box to the button.

Go ahead and make a usercontrol.