Engine252 Posted August 11, 2004 Posted August 11, 2004 Hi i'm creating a tab style control i know how to add designer support and all but i would like to be able to select a tabpage in code whel i click the tabpagebuttons i see them beeing selected but not the panel that go's with it. i have to click on the panel to get it selected or at least the propertie window only updates when i click the panel i've seen it done in one of divil 's controls but now i would like to ad it in my control i'm open to sugestions Quote
*Gurus* divil Posted August 11, 2004 *Gurus* Posted August 11, 2004 ISelectionService selectionService = (ISelectionService)GetService(typeof(ISelectionService)); selectionService.SetSelectedComponents(new object[] { myPanel }); Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Engine252 Posted August 11, 2004 Author Posted August 11, 2004 thx BTW. You have some gr8 controls Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.