Hi all,
I have a TPageControl that holds all the different screens of my program. I need to show a logo when the user is on certain screens only, and hide it on others. For some bizarre reason, the OnChange event does not fire when the page is changed via code - only when the user changes pages via switching tabs.
I even tried putting code in the MouseUp events for, firstly the PageControl and then the form itself. The PageControl one worked, but again only if the user clicks on the tabs. The form event did not seem to work at all.
Surely there must be a way for me to do this without having to add extra code to every button that changes pages? I have a lot of those...
Btw the logo is not on the PageControl itself, it is in the bottom 20% of the screen where the PageControl does not extend. This part of the screen contains various controls that only change minimally between pages.
Thanks!