Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Images... bring to front?

Status
Not open for further replies.

Zoilus

Programmer
Jun 19, 2001
5
CA
Hi,

I have a TImage component which has a small transparent area in it, and I can't bring it to the front of the application, above other panels. Is it possible to do that with Images component?

If not, is there any way to have a panel containing a image, or an image component that has the ability to contain other components?

Thanks a lot,
 
I think what your after is
image1.Bringtofront
This will bring the whole control to the front.
You might also want to read up on TControl.SetZorder
 
your image cannot be over a container different of his owner

container can be many thing like form,panel ect

if u whant it to be over a panel, the panel must own the image, drop on it at design mode or
create on it at run time
ex:
image1.owner :=panel1;
image1.parent:=panel1;
imgage......

jb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top