Docks an Integrated Development Environment (IDE) tool window or toolbar to the Visual FoxPro desktop window or another IDE window. There are two versions of the syntax. ...It does mention user-defined *toolbars*:
For a user-defined toolbar, you can use the Caption property as its name. If you specify an undockable window as the window to be docked, it becomes dockable internallyBut, apparently not user defined windows (in my case it's an instance of a form class created by createobject)