Just had a few queries regarding transparency on images.
Is there a way around, or an image component that lets you click 'through' an image, so long as you are clicking on the transparent bit.
An explanation of what i mean : Lets say that you have put showmessage('Clicked') for the onclick method of form1. Now add an image to your form, and compile the project. Obviously, whenever you click on your form, it shows this message, but it doesnt if you click on the image. So now i have an image with a large area of white. I have set the image transparency to true, and ultimately the white in the image disappears. I now see my picture on the form, but i now have a large 'hole' in my image, where the transparency has removed the white from my image. Because of this transparency, i can now see the form1 underneath the image. When i compile my program, and click on the area of my image where the hole has formed (and so i am clicking on the form beneath), delphi still reacts as though i am clicking on the image. Perhaps its unfair to say this is how delphi reacts, as i know technically i am still clicking on the image, and not the form beneath... but this leads to the problem i have.
I need some way of using images, with regions set to transparent, that can have the transparent area react as though it doesnt exist as part of the image (and ultimately mean i can click and react with ANYTHING that is placed directly under the area that is transparent).
Perhaps there is an image component which can change to be the same shape as my image. Every image component that i know of is square. Just a thought.
I don't know if this post makes much sense to people reading it, so please say so if you dont understand.
Any help is appreciated