button1.PerformClick() not working when a different tab is in focus
Posted on 2008-06-19
Here's my problem.
1. I have a tabcontrol with 3 tabpages.
2. I also have a timer. Now when this timer reaches zero it is supposed to do a button1.PerformClick()
3. Everything works fine when i am viewing tabpage1 as the timer reaches zero, performs the click and works fine.
4. When I am viewing tabpage2 or tabpage3 whilst the timer reaches 0, it does not do the button1.performclick()
I am using VS 2008 C#
What Am i missing here. ... probably something simple (hopefully) . Any help would be much appreciated.