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 / Design Time / January 2005

Tip: Looking for answers? Try searching our database.

Hide library components from the toolbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gerry - 04 Jan 2005 07:25 GMT
I have a design time component library containing components some of whihc
should be available on the ToolBox and some which shouldn't.
The ones that shouldn't are meant solely for use as Properties of other
components.
When I add the library to the Toolbox , of course all components are added
and the components that I don't want in the ToolBox are always grayed out.
I can later deselect the components that I don't want in the toolbox to hide
them which is fine for me but not necessarily so good for distribution.
Is there a way to tell the specify that a specific component should never be
added to the ToolBox ?

Gerry
Ulrich Sprick - 08 Jan 2005 17:53 GMT
Hi gerry,
there is an attribute you can decorate the class with, I think it is call
"ShowInToolboxAttribute" or so. Search the msdn index.
HTH, ulrich.

> I have a design time component library containing components some of whihc
> should be available on the ToolBox and some which shouldn't.
[quoted text clipped - 8 lines]
>
> Gerry

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.