What _is_ the Toolbox and how does its 'visibility magic' work?

H

Helmut Giese

Hello out there,
2 (hopefully) easy questions:
- What kind of control is the Toolbox from where we drag the controls
to our forms?
- Where can I find an example to learn the different techniques the
Toolbox uses to display itself?
If 'Autohide' is selected it partly overlays the form, if unselected
it arranges itself beside the form, ...
Very nice - I would like to learn how it is done.

Any hint or link will be greatly appreciated.
Best regards
Helmut Giese
 
M

Mike 'Spike' Lovell

Helmut Giese said:
Hello out there,
2 (hopefully) easy questions:
- What kind of control is the Toolbox from where we drag the controls
to our forms?
- Where can I find an example to learn the different techniques the
Toolbox uses to display itself?
If 'Autohide' is selected it partly overlays the form, if unselected
it arranges itself beside the form, ...
Very nice - I would like to learn how it is done.

Any hint or link will be greatly appreciated.
Best regards
Helmut Giese

Morning,

Would this be of help:

http://www.codeguru.com/csharp/csharp/cs_controls/custom/article.php/c8489/

Looks like someone has a tutorial on creating a toolbox, and auto-hide:

http://www.codeproject.com/KB/static/autohidepanel.aspx

Their buttons aren't all fancy (like the pin/unpin icon), but will probably
serve you.

~ Mike
 
H

Helmut Giese

Hi Mike,
well, over here it's now 21:00 - and it being a Saturday evening, I'll
be closing shop soon.

But before doing so I would like to thank you for your help.
Just a moment ago I had the idea that maybe the toolbox is a TreeView
with just one level of nesting - you click on '+' or '-' to expand or
collapse the respective section. I think I'll give the TreeView a try
- seems easier than what the guy at the above link did.
Looks like someone has a tutorial on creating a toolbox, and auto-hide:

http://www.codeproject.com/KB/static/autohidepanel.aspx
This definitively looks interesting - but not tonight anymore.

Thanks for your help and have a nice weekend.
Best regards
Helmut Giese
 
M

Mike 'Spike' Lovell

well, over here it's now 21:00 - and it being a Saturday evening, I'll
be closing shop soon.

But before doing so I would like to thank you for your help.

Ah right, good old Europe, my old home
Just a moment ago I had the idea that maybe the toolbox is a TreeView
with just one level of nesting - you click on '+' or '-' to expand or
collapse the respective section. I think I'll give the TreeView a try
- seems easier than what the guy at the above link did.

Yes, that's quite a good idea.

I didn't really look too hard into that link, just one of the things that
good chucked up.
This definitively looks interesting - but not tonight anymore.

Thanks for your help and have a nice weekend.

You too

~ Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top