I had a similar problem to this but as a work around I drew the image on the ForeLayer of the form, then caught the colour of the Forelayer that was not occupied by the image. Each time the MouseDown event was triggered I use the FGetPixel command to test the colour at that point and if it is different to the colour of the ForeLayer then I know that the image has been clicked
Hope this little work around helps.
Regards,
RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD.
Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD.
"Defeat never comes to any man until he admits it."Josephus Daniels
|