Profile Picture

Toolbar location

Posted By Billy Barnes 10 Years Ago
Author
Message
Billy Barnes
Posted 10 Years Ago
View Quick Profile
Junior Member

Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 20
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.


Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 8 hours ago
Posts: 3,054, Visits: 4,012
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.

Best Regards,
Nevron Support Team



Billy Barnes
Posted 10 Years Ago
View Quick Profile
Junior Member

Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 20
I have tried that with no results.

manager.Toolbars.SetIndex(manager.Toolbars["UI Editor"], 0);


Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 8 hours ago
Posts: 3,054, Visits: 4,012
You need to use Remove/Add methods instead

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic