Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I would allow the push of a button located in a User Control from the designer to change the current TabItem of a TabControl.

How can I do ?

Thanks.
Posted
Comments
Nithin Sundar 10-Apr-13 6:41am    
Couldn't you have a event for the button click and then set the selected item?
Curtis Wheller 10-Apr-13 6:55am    
The problem is that I can't click on the button from the designer.
Nithin Sundar 10-Apr-13 6:57am    
I'm a little confused. Do you want the user to click on the button when the program is running to change the selected tab item?
Curtis Wheller 10-Apr-13 7:00am    
No, not when the program is running but when it is in design mode.
Nithin Sundar 10-Apr-13 7:03am    
Ah I see. Something like how Visual Studio helps with some controls with styling and all? I think you might have to customize that button into a custom control and then use it. Someone might be able to help you out here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900