Support Forums

Full Version: Fade-in Applications?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have seen it done, and done it myself (copy pasta source code). I want my little shutdown program to "fade" in. I have tried a few codes but they made no sense and didn't work in the end.

Can anyone help me? I'm assuming I'll have to do something with opacity levels...
(11-03-2009, 11:44 PM)Extasey Wrote: [ -> ]I have seen it done, and done it myself (copy pasta source code). I want my little shutdown program to "fade" in. I have tried a few codes but they made no sense and didn't work in the end.

Can anyone help me? I'm assuming I'll have to do something with opacity levels...

I've done that a while ago, I will look for the source.
You use the timer and use it's interval to update opacity.
Yeah, I was thinking something along those lines...

Thanks!
Here are some youtube tutorials, i don't know if these work i haven't tried them. - http://www.youtube.com/watch?v=QQm2sD8UtVI
VB.Net vid - http://www.youtube.com/watch?v=vuuNXvTl8EA
Thanks! thats an awesome one!

The only problem is I cannot seem to replace the command button with an image...

I'll just make a button.
Ok, i dont really know what your talking about seen i didnt do the tutorial.
Haha, its okay. Thanks for finding it!

I just made a tiny button to replace it so now it fades in but not out. Which is what I wanted.
Here is a very simple tutorial: Fade In & Out Effects In Visual Basic 2008

You might also want to check this out: Visual Basic tutorials
Thanks Red, im going to use this Big Grin
Use this, timers will fudge over your CPU:

Code:
Form1_Load:
For FadeIn = 0.0 To 1.1 Step 0.1
Me.Opacity = FadeIn
Me.Refresh()
Threading.Thread.Sleep(100)
Next
Pages: 1 2