By James Foster - Friday, December 13, 2013
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?
|
By Nevron Support - Friday, December 13, 2013
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.
|
By James Foster - Saturday, December 14, 2013
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.
|
By Nevron Support - Friday, January 3, 2014
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.
|
|