>>Can anyone suggest a way of stopping a toolbar from undocking?
>>
>>TIA
>
>on the undock event of the toolbar put this.Dock()
That gives an Error...
"Too few arguments"
So it wants at least 1 parameter to say where to dock it.
I've already tried a few things..
This.Dock(0)
This.Dock(0,100,0)
Nodefault from Undock, BeforeDock, Afterdock
Return .f. from Undock, BeforeDock, Afterdock
None of them work
The really annoying thing is that I have got this to work in the past and can't remember what I did :(
Will Jones