Home All Groups Group Topic Archive Search About

Deriving System.Windows.Forms.TabControl and TabPages

Author
18 Jan 2006 8:40 PM
Stephan Zaubzer
Hi
For some reasons I needed to derive TabControl and TabPage to add some
additional functionality in the background.
When working in VS.net you can only add a TabPage to a TabControl by
right-clicking on the TabControl and selecting "add TabPage" or by
opening the TabPage Editor in the properties window of the TabControl.
But then, a normal TabPage will be added to my enhanced TabControl. Is
there a way to change this behaviour in the GUI Designer so that I can
add an enhanced (derived) TabPage to my custom enhanced TabControl
without having to change every item in the Code from TabPage to
DerivedTabPage...
Any help would be appreciated...
Thanks
Regards
Stephan

AddThis Social Bookmark Button