Hi,
I've made some really good progress today, but am firmly stuck with this! I have a "Form" that is configured to provide an Alphablend over the main form. It acts as a highlighter for a row of data, and is supposed to move up and down the main form, depending on where the mouse is located. I have all this working, and as I have a row of TEdit boxes down the left hand side, I have a common event that is triggered by these TEdit boxes, whenever the mouse enters or hovers over one of them.
However, I want the horizontal bar to highlight the respective row of data, regardless of where the mouse is located from a latitude perspective. My idea is to use a series of panels (only need 5 of them) that span the width of the of the main form. Then, when entered, they trigger the event mentioned above.
However what I have found is that as soon as the panel/s are hidden (Visible = False) all the events for that panel/s are disabled! Note the "data" I'm talking about is a number of labels etc. that are spread across 3 separate panels, IE not a table. If I had another means of detecting when "Zones" are entered for the main form, that would work too, but for now I'm thinking that a series of hidden panels or similar are the more likely solution.
See the attachment which shows more clearly what I'm trying to achieve, where the blue overlay/highlight needs to shift to the respective row (1 of 5), depending on mouse position anywhere within a given (row) region.
Any suggestions? I have literally spent hours trying to resolve this.