XylemFlow 8 Posted October 3, 2023 (edited) I have set the form's Transparent property to True. I have a TImage covering the form, which also has some fully transparent areas. When these transparent areas are clicked the window underneath is selected and the form loses focus. I'd like the form to keep focus and the TImage OnMouseDown event to trigger. So far the only solution I've found is to place a slightly opaque TRectangle over the form, however this is not ideal because it requires unnecessary alpha blending and also changes the colours slightly. Edited October 4, 2023 by XylemFlow Share this post Link to post
E. Spelt 3 Posted October 19, 2023 Maybe you can use a TLayout with property HitTest to true? It should catch the mouse events and does not have any background. 1 1 Share this post Link to post