Image display question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ariharan
    New Member
    • Aug 2007
    • 20

    #1

    Image display question

    In my VB6.0 project i hav created a image box in which a picture is loaded in Form's load event....I am having twopictures-->Pic1.jpg and Pic2.jpg
    When the mouse pointer is inside the image box Pic1 should be displayed...
    When the mouse pointer is outside the image box Pic2 should be displayed...
    Pls help me
  • Ali Rizwan
    Banned
    Contributor
    • Aug 2007
    • 931

    #2
    Originally posted by Ariharan
    In my VB6.0 project i hav created a image box in which a picture is loaded in Form's load event....I am having twopictures-->Pic1.jpg and Pic2.jpg
    When the mouse pointer is inside the image box Pic1 should be displayed...
    When the mouse pointer is outside the image box Pic2 should be displayed...
    Pls help me
    Hello,
    Write this code in imagebox mousemove event

    Code:
    image1.picture=pic1.picture
    Write this code in Form mousemove event

    Code:
    image1.picture=pic2.picture
    GOODLUCK
    ALI

    Comment

    Working...