Image as a background of a form in Delphi
Posted
by Averroes
on Stack Overflow
See other posts from Stack Overflow
or by Averroes
Published on 2010-05-25T20:55:40Z
Indexed on
2010/05/25
23:51 UTC
Read the original article
Hit count: 183
delphi
I'm using Delphi 2006. I have a few PNG images with transparencies and I have to create a GUI using them (top bar, left panel...). The images have different aligns properties. One of the images is the background of the form. The problem here is that I can't align it as alClient because it only occupies the rectangular zone that the other images have left, showing the naked canvas in their transparent zones. What I need is that the background image is put behind all the other images and taking all the canvas size.
Is there anyway to do this? I know I can do this writting some logic in the OnResize event of the form but I was just curious if I was missing something.
Thanks.
© Stack Overflow or respective owner