There must be a better way to track the window than by using a timer. If someone moves, then closes the window within the 1 second period the changes won't be tracked, anyways. Is there not some way to hook into a Close event of the preview window?
The only comment I can make about your Timer code is that in general you want to disable the timer while you're running the .Timer event, then re-enable it after:
This.Enabled = .F.
This.Enabled = .T.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up