CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Posts
    1

    Image expand/contract effect

    I'm something of a novice with visual basic, but I was wondering if it's possible to expand an image when the mouse hovers over it, and then have the image contract with the mouse leaves. I know I can resize the image on mouse hover, but that's not what I'm looking for. I'd like the image to gradually expand, then gradually contract. Can someone let me know if this is possible in visual basic?

  2. #2
    Join Date
    Aug 2009
    Location
    NW USA
    Posts
    173

    Re: Image expand/contract effect

    use the same events, have the routine resize the image gradually, say 10% at a time where "time" is up to you.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Image expand/contract effect

    Or Silverlight, or use BLEND and XML...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

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

Featured