Hello,
I've been puzzling over this for a few days now.
I'm building a menu system with drag-drop controls.
I have a stack of TFrameMenuIts in a TFrameContainer.
When I drag a menu item, I indicate the nearest drop location with a control containing an image or shape.
Because of all the frames, which are container objects I can't just position a shape because it won't be on top of them, so not visible.
I have to put the drop marker in a container. I tried a TPanel, but couldn't easily get rid of the background rectangle, so tried making a frame to contain it and so far same problem.
I've attached a screenshot to help illustrate what I'm doing. The mad colours in the demo are just to make it easier for me to debug the behaviour.
In the example, I'm using a BGRAShape in a frame called FrmMarker.
I also tried making a BGRAPanel transparent as the container of my shape but wasn't successful. If this can be done this way, any advice on how to achieve it?
I have seen similar questions which either wouldn't work with multiple components below the marker container, or involve creating a new component myself, which I would rather avoid and would slow me down a lot.
Ideally, I would need a panel with no borders and with alpha blend value or transparency which works.
Seems like a tricky thing to do considering such wide application potential.
Any suggestions would be greatly appreciated
All the best,
Al.