Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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!
Today is November 21, 2024, 3:47 am This article has been viewed 35209 times.
|
|