Okay... everything is working so far.
Next issue....
How do replace one image with another and then assign it again.
FYI... I may have multiple layered images on the control before putting altogether for final output.
Example, user has choice of two images. They select the 1st, it is assigned and displayed.
But, then they decide to use the second one.
I need to remove the 1st and re-assign the second
I am trying to free "theBMP" but of course I get a SIG error.
What do you suggest?
...
//theBMP is already assigned and displayed on the 1st image (Style_01)
...
//load 2nd image
TheImage1:= TBGRABitmap.Create(Style_02.Picture.Bitmap);
theBMP.Free;
theBMP.PutImage(0, 0, TheImage1, dmDrawWithTransparency );