Does anyone know how can i put a gif animation on a button?
thanks in advance
Printable View
Does anyone know how can i put a gif animation on a button?
thanks in advance
Like a standard VB command button?
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.
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.