toolstrip

D

dragonslayer008

I dragged a tool strip control onto a custom control I am working on.
The custom control in turn lives on a form and is set to fill dock.
The problem is when the form is resized, my control is resized
accordingly, but the tool strip is not resized to be longer (to cover
the entire top width of the control). How can I fix this?
 
R

Roman Wagner

I dragged a tool strip control onto a custom control I am working on.
The custom control in turn lives on a form and is set to fill dock.
The problem is when the form is resized, my control is resized
accordingly, but the tool strip is not resized to be longer (to cover
the entire top width of the control). How can I fix this?

If you want a control to automatically resize with it's parent control
you have to
set the anchor property. In your case to Left|Top|Right
 

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