Please support our C# advertiser: Programming Forums
Views: 10268 | Replies: 2
•
•
Join Date: Jun 2005
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I am developing an app with a Tab control (5 tab pages). On
one of the tab pages I need a method to run upon clicking
on the tab or entering the tab page. I have tried the following
this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click);
also have tried:
this.tabPage2.Enter += new System.EventHandler(this.tabPage2_Enter);
but neither will call the method tabPage2_Click or tabPage2_Enter
Anybody have any ideas?
I am developing an app with a Tab control (5 tab pages). On
one of the tab pages I need a method to run upon clicking
on the tab or entering the tab page. I have tried the following
this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click);
also have tried:
this.tabPage2.Enter += new System.EventHandler(this.tabPage2_Enter);
but neither will call the method tabPage2_Click or tabPage2_Enter
Anybody have any ideas?
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode