chudmarek
asked on
button1.PerformClick() not working when a different tab is in focus
Hi Guys,
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.
Regards,
Marek
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.
Regards,
Marek
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.