Results 1 to 3 of 3

Thread: changing images

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2005
    Posts
    2

    changing images

    I know this is basic and i am sorry for asking such a newbie question.

    Ok here is what i am trying to do I want when I click on image2 the picture in image3 changes.

    I tried
    Image2 (on_click)
    sub
    image3.picture="c:\mydir\file"
    end sub


    but that did not work will i need to load the image file into another image tag then set image = to each other.

    My project is trying to make a dial apper to turn when pressing where the final set point should be.

    Thanks for any help

  2. #2
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: changing images

    Use LoadPicture
    VB Code:
    1. image3.Picture = LoadPicture("c:\mydir\mypic.bmp")
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2005
    Posts
    2

    Re: changing images

    Thanks

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