>Hi all,
>
>Have not used toolbars at all...just starting to play with one. What does the separator control actually do - documentation seems to indicate that they put space in between controls.
>
>- I am trying to keep 2 controls always together (a "grouping") - a command button and a checkbox. And I will have a few of these "groups"
>
>- if I put a separator in between each group, will it keep those controls together even if the user resizes or moves the toolbar? does this then work like a container?
It will keep them together and actually act as a line break, so if you stretch the toolbar vertically, they will wrap at separators first, i.e. if the width of the toolbar is too small to hold all of them in one row, it will break at the nearest separator to the left of the right edge and align them into two rows. If you keep stretching the toolbar vertically and making it narrower, it will use the next separator. However, when the horizontal space is too small for a group, then that group will be split too - but the separator's break will not vanish. Pretty much same way the paragraphs are reflown in text as you make the window narrower.