fade in-out / opacity effect. --> SOURCE

Discussion in 'Programming General' started by Admigo, Feb 14, 2010.

fade in-out / opacity effect. --> SOURCE
  1. Unread #1 - Feb 14, 2010 at 7:51 AM
  2. Admigo
    Joined:
    Jan 23, 2010
    Posts:
    89
    Referrals:
    2
    Sythe Gold:
    0

    Admigo Member

    fade in-out / opacity effect. --> SOURCE

    removed because no replies
     
  3. Unread #2 - Apr 30, 2010 at 5:08 PM
  4. R3KoN
    Joined:
    Apr 30, 2010
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    0

    R3KoN Newcomer

    fade in-out / opacity effect. --> SOURCE

    rofl, like this is even hard? there is an opacity property for a reason.

    hint:
    use a timer and increase opacity of control by x every tick
     
  5. Unread #3 - Jul 1, 2010 at 10:21 PM
  6. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    fade in-out / opacity effect. --> SOURCE

    Code:
    sub fade(byval fadeout as boolean, byref frm as form)
    if fadeout = true then
    for i as integer = 0 to (frm.opacity * 100)
    frm.opacity = frm.opacity - 0.01
    system.threading.thread.sleep(50)
    next i
    else
    frm.opacity = 0
    for i as integer = 0 to 100
    frm.opacity = frm.opacity + 0.01
    system.threading.thread.sleep(50)
    next i
    end if
    end sub
    Completely freehand, might not even work, idk it's 3am.
     
  7. Unread #4 - Jul 2, 2010 at 2:31 PM
  8. Harlem9191
    Joined:
    Mar 10, 2009
    Posts:
    81
    Referrals:
    0
    Sythe Gold:
    0

    Harlem9191 Member

    fade in-out / opacity effect. --> SOURCE

    Would work Blupig but your loop does exactly the same job as a timer :D
     
  9. Unread #5 - Jul 5, 2010 at 9:40 AM
  10. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    fade in-out / opacity effect. --> SOURCE

    No point in having form elements in something that might be included in an external library, now is there?
     
< i need sony vegas! | need help plsss :( >

Users viewing this thread
1 guest


 
 
Adblock breaks this site