Home Forums General XMetaL Discussion toolbar positioning Reply To: toolbar positioning

Derek Read

Reply to: toolbar positioning

You can create a new toolbar that is docked to the top toolbar area using code similar to this:

// XMetaL Script Language JSCRIPT:
// create a command bar docked at the top of the UI
Application.CommandBars.Add("My Toolbar",2);

That is working in the current release (8.0.1.051) as are the values 3 (right), 4 (bottom), and 5 (floating / default).
The value 1 (dock on the left side) does not seem to work in 8.0 UI and results in a floating toolbar for me. I'll raise this with development.

I believe the Position property you are using has not been implemented and has no effect. I'll check with development on this. It could be that the documentation is incorrectly listing it.

Reply

Products
Downloads
Support