NDiagramCommandBarsManager Loses Docking


Author
Message
James Foster
James Foster
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
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 (211 views, 36.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
James Foster
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search