Results 1 to 3 of 3

Thread: Images

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Location
    Leeds England
    Posts
    54

    Images

    i want to check if two image boxes are displaying the same picture? ive tried
    if image1.picture = image2.picture then
    bla bla bla

    but it hasnt worked? any other suggestions?!

  2. #2
    Addicted Member drewski's Avatar
    Join Date
    Feb 2000
    Location
    WA
    Posts
    242
    When you load the image control with a picture record the file path of the picture into a string variable. When you want to compare the pictures of two image boxes just compare their file paths. If the filepaths are the same then I guess you have a match.


    Hope this helps.


    Drewski
    I see said the blind man as he spat into the wind.

    It all comes back to me now!

    A.D.T.'s VB

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2001
    Location
    Leeds England
    Posts
    54
    cheers its working now!

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