|
-
Jan 17th, 2001, 04:16 AM
#1
Thread Starter
Evil Genius
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 
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!
-
Jan 17th, 2001, 04:57 AM
#2
Lively Member
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
Breaker
(VB 6.0 ENT SP3 WIN 2000 PROF)=> WORK
(VB 6.0 ENT SP3 WIN ME)=> HOME -> Upgrade to .NET is coming
-
Jan 17th, 2001, 05:25 AM
#3
Thread Starter
Evil Genius
Wow, and I was trying to decipher the code in the setup project which comes with vb 
Thank you!
-
Jan 17th, 2001, 05:26 AM
#4
Lively Member
no problem... :-)
That's what a forum is for...
Breaker
(VB 6.0 ENT SP3 WIN 2000 PROF)=> WORK
(VB 6.0 ENT SP3 WIN ME)=> HOME -> Upgrade to .NET is coming
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|