TS> Sure it is possible. You have to inherit from TPanel, modify the
TS> Display methods and what YOu get is a new Component drawing whatever
TS> You want and containig other Components if you want it to. But it
TS> might be better not to use the VCL in this case because of
TS> performance considerations.
I am not sure if performance would be an issue with what I plan to do, but
you never know till you test it. I figured this was possible, but I am not
looking to reinvent this wheel if I don't have to. I'd be interested in
finding a freeware, shareware or commercial component that will do the trick
for me...or some sample code on such a component as a last resort. Other
ideas of how to approach a solution for this would also be appreciated. I
don't have to have an image component as a container for other image
components. I need to have a way to place a bitmap of say a picture frame and
have an image inside the frame be able to change with no change to the frame.
I am sure there are several ways to do this, I am just not quite sure what
the best way to approach this is.
Steve
--- FreeMail 1.07b
(1:203/21)
---------------
* Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 *
|