We have users which have tablets with attached monitors. If they set up and position the TAdvToolbars in a TAdvDockPanel while the monitor is attached and running the app in that monitor all is fine until they disconnect the monitor and run the app on the tablet since the tablet is showing the app at a different Windows display scaling, causing most if not all of the toolbars to collapse.
I am using the Persistence property of the dock panel but I would like to be able to save and load specific arrangements depending on how the user wants the toolbars for a particular resolution.
Do you have any recommendations on the best way to go about this? I was thinking of disabling the Persistence property and saving/loading on demand using SaveToolBarsPosition and SaveToolBarsPosition. Do I just update the Persistence.Section as needed before issuing those methods?