` Printed Icetips Article

Icetips Article



Par2: Retaining toolbox positions between runs
2000-04-03 -- Kevin Erskine
 
I found the answer (thanks to Kevin Erskine!).  If you just plunk the code
in using the Save and Restore Window Location check box, it doesn't work.
In fact, you need to turn this off and store only the x and y position (at
least in Legacy).  You have to:

1.  Open the window and DOCK it
2.  In the EVENT:SIZED, this is where you set the x and y positions.  Do not
set the width and height for the window.  For some reason, trying to set it
anywhere else (like right after docking) didn't work for me.

Now, it works fine!



Printed May 1, 2024, 7:29 am
This article has been viewed/printed 35119 times.