Home Forums General XMetaL Discussion dock .xft form Reply To: dock .xft form

Derek Read

Reply to: dock .xft form

There is no way to dock an XFT form.
If you can redesign your feature so that it works in the Resource Manager that would give your users a window they can dock (it is by default).

You can add a tab to the Resource Manager and then specify an ActiveX control to display there. You can't embed XFT in it, so you either need to write your own control or use an existing one. This is what many of the CMS integrations do to provide a way to navigate the CMS, usually using some form of tree control.

If you do not wish to create your own custom ActiveX control you can embed the Internet Explorer WebBrowser control instead and use it as a framework to build inside of. In this case you have two main bits of code: 1) The code in your XMetaL customization's Macro that adds the tab to the Resource Manager, specifies that the IE WebBrowser control should be displayed in the tab, and which page to load into it. 2) The page to load into the IE WebBrowser control, written in something IE can load (usually HTML + JScript or VBScript). This is basically what we use for the DITA Map Editor in XMetaL Author Enterprise.