Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

Hide TabPages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
spif2001 - 23 Dec 2004 12:07 GMT
Hi

I have made a custom TabControl and a Custom TabPage to go with it.

The custom TabControl has a collection of custom Tabpages, which shows in
the property editor.

What I need to do now, is to hide the TabPages property inherited from
TabControl. I whant the developer to only use my collection.

Is this possible?

TIA
spif2001
Mick Doherty - 23 Dec 2004 17:15 GMT
You'll need a Custom designer aswell so that the add and remove verbs
add/remove your custom tabpage.
Here's one I prepared earlier. Just swap my tabpage class with yours.
http://dotnetrix.co.uk/tabcontrols.html --> TabControl using Custom TabPages

Signature

Mick Doherty
http://dotnetrix.co.uk/nothing.html

> Hi
>
[quoted text clipped - 10 lines]
> TIA
> spif2001
spif2001 - 29 Dec 2004 08:25 GMT
Thanks a lot!

That was the perfect solution - u saved me hours :)

-spif2001

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.