-
I have read this a couple of times on this site, & now I need to use it, I can't find the link to the code :rolleyes:
Can someone please paste the link for showing how to paint a form to fade (like from blue at top of the form to black at the bottom - as in setup programs).
Cheers!
-
Here you go :
First set the AutoRedraw property of your form to True and then paste this code to your Form_load :
Dim intY As Integer
Form1.Scale (0, 0)-(500, 500)
For intY = 0 To 500
Form1.Line (0, intY)-(500, intY), RGB(0, 0, CInt((intY / 500) * 255))
Next
Or you can go to this link for more information :
http://visualbasic.about.com/compute.../aa082500a.htm
-
Wow, and I was trying to decipher the code in the setup project which comes with vb :rolleyes:
Thank you!
-
no problem... :-)
That's what a forum is for...