Visual Studio 2005 question

Posts   
 
    
mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 24-Jan-2007 23:45:27   

Does anyone know how to define a custom control to be in a specific group in the toolbox? Is this an attribute I'm supposed to set on the control?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39797
Joined: 17-Aug-2003
# Posted on: 25-Jan-2007 09:36:37   

That's done by the installer of most controls by telling vs.net (using the vs.net SDK code) where to put the controls. You could use a toolboxitem object assigned to your control and use the toolboxitemattribute to config some elements, but it's not really helpful.

Frans Bouma | Lead developer LLBLGen Pro
mikeg22
User
Posts: 411
Joined: 30-Jun-2005
# Posted on: 25-Jan-2007 16:45:41   

Otis wrote:

That's done by the installer of most controls by telling vs.net (using the vs.net SDK code) where to put the controls. You could use a toolboxitem object assigned to your control and use the toolboxitemattribute to config some elements, but it's not really helpful.

Thats the only way? Wow, thats too bad disappointed I wanted to break my custom GUI controls out into different groups in the toolbox, but I don't want to have to create and run an installer each time I compile them again...

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39797
Joined: 17-Aug-2003
# Posted on: 25-Jan-2007 17:23:29   

Well, 'installer' as in: when you install a 3rd party component, the installer takes care of adding the components to the right groups. Though I'm sure it's simply calling something inside VS.NET to get this done. So if you download the VS.NET SDK (VSIP), you should be able to make this happen I think.

Frans Bouma | Lead developer LLBLGen Pro