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)
Reply
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.
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