Profile Picture

AutoHide tabs hidden from loaded DockingFrameworkState

Posted By Craig Swearingen 6 Years Ago
Author
Message
Craig Swearingen
Question Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 99, Visits: 654
Using 15.5.11.12 build.  I'm calling NDockingFrameworkState.Load() on a previously saved (in XML) layout.  Some of my autohide tabs are not initially visible and the order is not what it was when I saved it.  I've attached the .xml in a .zip file to this append.  If you use the "Docking Panel Persistency Example" that comes with the Nevron toolkit, set the format type to XML, and load the layout file attached you'll see a hidden tab on the left with three visible ones that follow it.  The order when I saved this was Companies, Filters, Brokers, Clients but when it first shows its Brokers <which is not visible>, Clients, Companies, Filters.

If you move the mouse over the tabs to show them the invisible one will show and then the tabs get reordered.  My program behaves similarly but I seem to always end up with an invisible tab.  In looking at the .XML file the order of the Panels is not by their Index.  If I reorder them in the .XML file by Index then they show as expected.  Is there something I have to specify to get these saved in the right order or something I can call to fix this?

Attachments
primMDI(testdefaults)Layout.zip (413 views, 3.00 KB)


Similar Topics


Reading This Topic