You can undock toolbar by moving it outside of the docking area or pass -1 to the dock method.
oTbr.Dock(-1)
>Hi all
>
>Is it possible to undock and toolbar and reposition it near the form. I tried undocked but it is a readonly at runtime. toolbar.dock(0) etc just changes the toolbar position.
>
>I would want to change the position on form activate, thus as soon as a form is activated the toolbar will be nearby, switch forms the toolbar move near to this new form.
>
>Please advise.
--sb--