Can anyone give me some code that would fade my image from invisible to normal and vice versa?
I have a gif on my form and want it to fade in on the click of a button or when the form loads etc..
Or is there a tutorial on it somewhere?
Cheeko :)
Printable View
Can anyone give me some code that would fade my image from invisible to normal and vice versa?
I have a gif on my form and want it to fade in on the click of a button or when the form loads etc..
Or is there a tutorial on it somewhere?
Cheeko :)
Anyone? :(
Is this possible or would I have to fade it as an animation in fireworks first?
One way you could do this is by editing a few copys of the image/gif and when you want it to change write a bit of code to swap the gifs etc, like a walking man u could do two gifs and on a timer change one form the other
Cheers for the feedback, il look a bit harder :)
The easy way:
Create an Animated Gif the does the fade in thing. Use an Animated Gif viewer control to display the file. There are quite a few freeware animated gif controls available on the web.
The Hard Way:
Visit www.vbaccelerator.com somewhere on that site, there is an example of the use a Logical Bitmap (or something like that) to fade out an image. This is a more flexible method and will let you fade out or fade in any image. However, it is complicated.