@Arivald
Thanks for the idea to use 'persist'. That does the job for the size as
discussed in another thread.
But I have problems with working that way with the placement of the
dialog on the screen.
For the actual position (user selected position) I store the screen.X/.Y
values to values like layout1.X / layout.Y or layout2.X / layout.Y which
are defined also with 'persist'.
Changing the layout is a restore of the appropriated values to
screen.X/.Y. That works fine will the dialog is open.
But not with reopen the dialog. For sure I set the right value pair to
screen.X/.Y before closing. And also I tried to use window.moveTo(X,Y)
with the right screen.X/.Y .. delayed with settimeout fct.
But the dialog is displaced by a certain amount in both axes. Different
with W7/LX/OSX .. so I think it's theme depended.
Any good idea how to get that fixed also?
Günter