I have a simple test page set up and so far I can successfully dynamically create docks and using the procedures outlined the documentation, I create the docks in the PageInit function. Everything is working well in that I can repeatedly click a button and create docks, each click adding another dock to the page.
Alls docks are set to Floating and there are no DockZones on the page. What I have noticed, is if I move a Dock to a different position than it started in, that position does not seem to be saved. So each successive click of my button creates a new dock, but resets all docks to the starting coordinates so they are stacked and I have to move them around to see them all.
I'm sure the reasoning is because after a Dock is moved on the page, that change in state is never actually saved. But what I can't seem to glean from the docs and examples is how to explicitly save that state after a dock has been moved.
Alls docks are set to Floating and there are no DockZones on the page. What I have noticed, is if I move a Dock to a different position than it started in, that position does not seem to be saved. So each successive click of my button creates a new dock, but resets all docks to the starting coordinates so they are stacked and I have to move them around to see them all.
I'm sure the reasoning is because after a Dock is moved on the page, that change in state is never actually saved. But what I can't seem to glean from the docs and examples is how to explicitly save that state after a dock has been moved.