Profile Picture

NDiagramCommandBarsManager Loses Docking

Posted By James Foster 11 Years Ago
Author
Message
James Foster
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 2, Visits: 1
Hey there, I'm having an issue where an NDiagramCommandBarsManager command bar forgets to dock itself after rebuilding and covers up any controls beneath it.

When initially added everything appears as normal, but on rebuild the command bars will forget they were docked and anything set to fill inside of the form will shift upwards underneath where the command bars lie. (Example attached) It behaves this way on user controls or forms with only a NDrawingDocument set to fill.

I'm using version 12.2.6.12 of the Nevron.Diagram.x dlls in VS2013 and .NET 4.5. Am I missing a setting of some sort?

Attachments
UndockedBar.png (174 views, 36.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:50 AM
Posts: 3,043, Visits: 3,777
Hello James,

Do you set the View property of the command bars to your NDrawingView?

This is the correct way of adding NDiagramCommandBarsManager to your form.

Best Regards,
Nevron Support Team



James Foster
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 2, Visits: 1
Yup, the Command Bar's view is set to the NDrawingView. I have a simple sample that shows the behavior and setup, but cannot figure out how to attach it as one blob as zips are blocked. It was created in VS2013 and uses the 13.12.5.12 dll's made for VS2013 this time.

I was able to get around the behavior by adding a panel to the form and making the CommandBar's parent control the panel instead of the form itself. I know the samples didn't need that, though, so I must be missing something.

Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:50 AM
Posts: 3,043, Visits: 3,777
Hi, please send us a support ticket with your sample project attached. We will then be able to analyze your code ant tell you what causes the problem.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic