Why would you want to do that?
Our application has moved its model outside of the Document object, and we were trying to do double-buffering with the view. More specifically, we want to populate GoDocument-2 while GoDocument-1 is still being displayed, and we don’t want flicker when we set the view to GoDocument-2. We want the view set up correctly, with GoDocument-2 as its data source, until we do other assorted rendering behavior, and only then do we want a repaint.
Have you tried 1 GoDocument with 2 GoLayers, and just toggling the visibility of the layers?
I hadn’t thought of that.
Actually, on second thought… I don’t understand why you see the screen flicker to black when switching documents. GoDiagram does suspends updates while it does all the work of switching layers, etc.