delphi image brint to front

Is it possible to have the Timage infront of a PANEL ?
whenever I put the panel and an image, the panel is in front of the image.
yarekAsked:
Who is Participating?
 
diniludCommented:
0
 
diniludCommented:
No you can't.

Because TImage derived from TGraphicControl while TPanel from TCustomControl.
0
 
diniludCommented:
Check this page. From this page you can download some Components, that will support BringTofront function

http://www.delphipages.com/news/detaildocs.cfm?ID=39
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
MerijnBSr. Software EngineerCommented:
you can use a TImage32 (from the Graphics32 project) instead of TImage: http://www.graphics32.org/wiki/
0
 
diniludCommented:
MerijnB is right. We can use any Component which is derivied from TWinControl can use to solve your problem.
0
 
TNameCommented:
yarek, I don't know what exactly you are trying to do, but for most purposes an easy solution would be to simply put the image on another panel (with exactly the same dimensions as the image - so that the image covers it up completely) and position this second panel (the image's parent) in front of the other panel.
0
 
TNameCommented:
So if e.g. the image is located on Panel2, fully covering it, and Panel1 is in front of them, then if you say
   Panel2.BringToFront;
it will look like the image is coming to the front of Panel1.  Well it really is, with some help though.
0
 
yarekAuthor Commented:
My project is:
put a webcam image into an OVAL mask picture (Like taking a snapshot webcam picture into a head shape oval).
Sorry for my poor explanation and my poor english:
I want people to make webcam snapshots of their FACE: so I need to put an OVAL mark so they put their head inside:
- It can be overlayed (over the webcam image) : trouble is the webcam is always ON TOP of the image !
- or the webcam image can be Oval shaped: I do not know how to do it !

I tried Graphics32 but i never get a transparent image neither
In both cases I am STUCK...
Any Idea on how to achieve this ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.