When calling SaveToobarsPositions for a TAdvDockPanel, it correctly uses what I set for the registry Key and Section. However, when calling the SavePosition method for each TAdvToolBar on that doc panel, it only uses the Key from the parent dock panel but not the section and instead always uses UnDockedAdvToolBars as the section.
I want to save different toolbar layouts and different button visibility states, but since it shares the same UnDockedAdvToolBars section, only one visibility state can be saved.
There is no property to set the key and section for a TAdvToolBar, so I am assuming the key is taken it from its parent TAdvDockPanel, so why not the section as well? Maybe I'm wrong, but what would be the best approach to get around this problem?