ComboBox filling available space in toolstripbar

  • Thread starter VBTricks.de.vu Webmaster
  • Start date
V

VBTricks.de.vu Webmaster

Hello,

sorry for posting this question again, but I still have found no solution.
I updated my application to .NET2 and replaced the old toolbars by
toolstripbars. My application does contain an addressbar similar to that
of Internet Explorer with some buttons left and some right of the
combobar. The right buttons are right-aligned and are automatically
positioned at the right border at runtime. I now want to fill the space
between the left and the right buttons with my combobar. But when sizing
the combobar in the ToolStripBar Resize event, the combobar gets a bit
too large (as the right buttons seem to not yet have been repositioned)
and the right buttons are shown as drop down menu.
How to prevent this or do you know another solution?


Thanks in advance,

Stefan

--
___________________________________www.VBTricks.de.vu
the free resource for Visual Basic, Gambas and Pascal
components, tips & complete projects

www: http://www.VBTricks.de.vu
mail: vbtricks <at> gmx <dot> net
_____________________________________________________
 
V

VBTricks.de.vu Webmaster

Well,

solved it manually by handling the Layout-Event of the ToolStrip class.
Doing this in the Resize-Event will not work, as the ToolStrip does not
seem to have the correct (new) size when the Resize event is fired.


Stefan

--
___________________________________www.VBTricks.de.vu
the free resource for Visual Basic, Gambas and Pascal
components, tips & complete projects

www: http://www.VBTricks.de.vu
mail: vbtricks <at> gmx <dot> net
_____________________________________________________
 

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

Similar Threads


Top