View Single Post
  #1 (permalink)  
Old 06-02-2007, 04:36 PM
Cableguy's Avatar
Cableguy Cableguy is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,463
Awards Showcase
Forum Contributer 
Total Awards: 1
Default Can we compare imagelist items?

Hi, is it possible to compare two imagelist items?

In my hoppefully soon to be finished Pairs v2, I decided to embed all images into one file, and i'm not to sure on how to go from here...
The logic of the game is to compare two images, but as that is not really possible, I can only compare the file name...So my questions is, if I add each image to an imagelist will I still be able to compare them?

to set the image to its holder I have to do this code

PICn.Image=Imagelist.item(x)

But how to compare?
If PICn.Image=PICz.Image then dosomething - Is this workable?

I don't whant to have to restore al images before each game and then have to deleted them at the end...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote