PDA

Click to See Complete Forum and Search --> : Images


bradley252
Nov 16th, 2001, 11:20 AM
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?!

drewski
Nov 16th, 2001, 11:43 AM
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

bradley252
Nov 16th, 2001, 11:53 AM
cheers its working now!