Ric,
A NODEFAULT in the mousedown and dblclick event makes it impossible to undock the toolbar interactively.
If only want to disable the undock when a dblclick on a disabled toolbutton you can use the following code in the DBLClick event of the toolbar.
nx=SYS(1270)
IF TYPE('nx')="O" AND nx.baseclass # "Toolbar"
NODEFAULT
ENDIF
Walter,
>Hiya!! I would really like to always keep my main toolbar docked. In the event it goes undocked, I want it to redock immediately. I know that you can dblclick on a disabled toolbar button and that will undock the tool bar, or drag and drop the toolbar. How can I disable this??
>TIA
>
>Ric