Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Control Event is not firing appropriately? 1

Status
Not open for further replies.

Jawad77

Programmer
Dec 23, 2004
41
US
I have a tab control in my main form and the tab control has 4 different pages. I like to fire an event when I click on the tab of the second page. The event is not fired unless I click on the 2nd page itself. But this is not desirable because the event (which updates graph on the second page) should be fired when i click on the tab of the second page and not the second page itself. Can any one please help me with this.

Thanks a bunch in advance

Jay
 
The event which fires when you click the tab is the Change event. To do something for a particular page you have to test the page name or number in the change event.
 
Thanks a lot Lupins46. It works perfectly fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top