I am not sure if this is the correct section of the forum for this but I will start here.
I normally use dual panes but occasionally switch to single pane mode using the "dual pane" button. When in single pane mode I expand the first (name) column but when switching back to dual pane mode the column width is then too wide,
Is there any way of saving the dual pane column widths and restoring then on return to dual pane mode. I would want this all to be done using a single button. Any other way does not save any time.
Or can I store and access column layouts for both single and dual panes that could then be called up as defaults again using a single button.
AQ
Saving and resuing column widths
Re: Saving and resuing column widths
Sizes only, without the corresponding columns? No. Otherwise:
Set up single pane columns, execute
Switch to dual pane, set up the active one, execute the above script again.
And the loading button script (execute it after switching):
Set up single pane columns, execute
Code: Select all
if (get("#800")) { columnlayout("dual_pane", "save"); }
else { columnlayout("single_pane", "save"); }
And the loading button script (execute it after switching):
Code: Select all
if (get("#800")) { columnlayout("dual_pane"); }
else { columnlayout("single_pane"); }
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club