Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-12

Restore docked layout

3 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans-Peter Diettrich

Now I got a first version of examples/MakeSite save and restore a layout :-)

Create some layout by creating and docking forms, then press buSave. The layout is saved in a memory stream, not on disk, so you should close all but the main form, before restoring the layout with buRestore. Sorry for the button captions, there are more things to brush up with this project...

Please report all problems.

DoDi

Reply by email

Hans-Peter Diettrich
to Hans-Peter Diettrich

The latest version of MakeSite now also saves and restores docking notebooks, as well as the size and position of all dock sites. It should also restore the saved layout when the docked forms are *not* closed before the restore.

A problem (crash) was observed on Win32, which seems not to occur on Linux/gtk2 - see bugreport and patch.

DoDi

Reply by email