Hello all you knowledgeable people.
I’m stuck on something that seems to me should be trivial, but I’m not finding a solution.
I want to call a method when a specific pagePanel is selected. I tried using the “Activate” event which actually works fine. If I click outside of the application and then back in the window (the expected behaviour I guess), but this, of course, is no good to me !
I’ve tried firing it from the “On Change” event of the pagePanel, but that tells me I’m making a “Static Reference to instance method” and to call it from within the instance, which is, of course, exactly what I want to do ! I’ve also tried firing a timer from the “On Change” event but I get the same error.
My controls for each of my tabs are grouped in individual ContainerControls and the method is attached to its respective pagePanel ContainerControl being selected.
I tried moving the methods into a Global Module but had no luck that way either.
Could someone please tell me what I’m missing here and how to solve this, or at least point me in the right direction?
Thanks in advance.