Profile Picture

Toolbar location

Posted By Billy Barnes 7 Years Ago
Author
Message
Billy Barnes
Posted 7 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: 5 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 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)

Group: Forum Members
Last Active: 9 hours ago
Posts: 2,962, Visits: 3,363
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 7 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: 5 Years Ago
Posts: 13, Visits: 20
I have tried that with no results.

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


Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)

Group: Forum Members
Last Active: 9 hours ago
Posts: 2,962, Visits: 3,363
You need to use Remove/Add methods instead

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic