944,161 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 22796
  • C# RSS
Jun 15th, 2005
0

tab control (tabPage)

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aether1 is offline Offline
3 posts
since Jun 2005
Jun 15th, 2005
-1

Re: tab control (tabPage)

s'alright, I figured it out myself
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aether1 is offline Offline
3 posts
since Jun 2005
Jul 26th, 2005
0

Re: tab control (tabPage)

Ok, and what are the solution to the tabpage click event?
Best regards,
Gitte
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gitchen is offline Offline
1 posts
since Jul 2005
May 15th, 2010
-1
Re: tab control (tabPage)
can any one post sample code on this.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aryan_naren is offline Offline
1 posts
since May 2010
May 15th, 2010
0
Re: tab control (tabPage)
@aryan_naren

Please do not resurrect old threads. If you have any questions please ask. .... You are welcome to start your own threads.

Please read the forum rules

1. http://www.daniweb.com/forums/faq.ph...niweb_policies
2. http://www.daniweb.com/forums/thread78223.html


Thread Closed.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in C# Forum Timeline: AssemblyInstaller
Next Thread in C# Forum Timeline: Accessing items in windows applications





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC