Hi Holger,
Just an idea. You can add a timer to your toolbar and enable it in undock event. When timer fires, the .left and .top values should be correct.
>
>how can I find out, if a toolbar has been dragged out of a top level form ?
>
>I can check the toolbars .left/.top values in the moved event, to find out,
>if it has gone beyond the forms borders.
>But this does not work, when the toolbar was in a docked position. In this
>case, the moved event does not fire.
>I also tried to check the toolbars position in its undock event, but in that
>case the .left/.top values are always 0 (zero), no matter if you drop it
>inside or outside the form.
<snip>
--sb--