DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Setting toolbox tab for component

  1. #1
    Join Date
    Dec 2003
    Atlanta, Georgia

    Setting toolbox tab for component

    When I add my assembly to the Toolbox via the Tools | Choose Toolbox Items... dialog, the components in my assembly are added to the General tab. How can I tell Visual Studio 2005 programtically to add my components to some other tab ?

    I was expecting some attribute placed before the component class which I could set to tell the Toolbox on which tab I my component would be placed, but I could not find such an attribute. But I am sure their must be some way from within my assembly by which I can direct the Toolbox to place a given component on a particular tab, which would be created for it if the tab does not already exist within the Toolbox.
    Edward Diener

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Dec 2003
    Atlanta, Georgia
    That's nice but I want to have the component added to the correct tab in the Toolbox from the normal Tools | Choose Toolbox Items... menu in Visual Studio 2005. Is there a way to do that ? Perhaps there is using a DTE event ? The code also needs to be triggered when the the choice is made to add the assembly to the Toolbox.

    It does seem as if there should have been a simple attribute which could have been set on the component which tells the Toolbox that the component wants to be added to a particular tab. I know such an easy methdology existed for C++ Builder, of course without using attributes, so I was surprised that .net did not have the equivalent.
    Edward Diener

Similar Threads

  1. Tab Controls
    By Sync in forum .NET
    Replies: 6
    Last Post: 10-08-2005, 01:00 AM
  2. ANN: Exontrol! ExTAB, skin based TAB control
    By Exontrol Inc. in forum vb.announcements
    Replies: 0
    Last Post: 01-27-2003, 02:24 PM
  3. Tab will not select itself by button
    By Brad in forum .NET
    Replies: 0
    Last Post: 05-19-2002, 05:20 AM
  4. Replies: 0
    Last Post: 04-14-2001, 06:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center