Results 1 to 4 of 4

Thread: link needed please

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Lively Member Backbraker's Avatar
    Join Date
    Dec 2000
    Location
    Lummen, Belgium
    Posts
    117
    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

  3. #3

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Wow, and I was trying to decipher the code in the setup project which comes with vb

    Thank you!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  4. #4
    Lively Member Backbraker's Avatar
    Join Date
    Dec 2000
    Location
    Lummen, Belgium
    Posts
    117
    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
  •  



Click Here to Expand Forum to Full Width