Nevron Forum

Toolbar location

https://www.nevron.com/Forum/Topic8540.aspx

By Billy Barnes - Monday, April 7, 2014

I have the same problem.
I have added a toolbar to the manager.
Now I want the toolbar to be the leftmost toolbar.
I only have my custom toolbar and the Standard toolbar.
No matter what I have tried, the Standard always is leftmost.
By Nevron Support - Tuesday, April 8, 2014

Hi Billy,

The order of the toolbars on same row depends of their order in NCommandBarsManager.Toolbars collection.
To set a toolbar to be on the leftmost position it should be at the first place in toolbars collection.
By Billy Barnes - Wednesday, April 9, 2014

I have tried that with no results.

manager.Toolbars.SetIndex(manager.Toolbars["UI Editor"], 0);
By Nevron Support - Friday, April 11, 2014

You need to use Remove/Add methods instead