I have a main form with a toolbar that, depending on what the user selects, can open multiple smaller windows. Now, when multiple windows come up and the user takes the time to size and position them on the screen just so, I want those windows to go back to the same positions the next time the user makes that selection. But I can't figure it out.
I pulled up all the methods from code completion, looked at all the properties in the property manager, but nothing. I was hoping for something like GetPosition. Something with X/Y coordinates. Nothing. I did find Position, but that's not the ticket either.
I need two things:
1. the means to capture the screen position of the form, and
2. how to use that to set the forms again
Right now I'm reading/writing to an *.ini file, saving the forms' sizes. I just don't know how to position them to the same positions the user had them.