>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?
BINDEVENT would be much better, but I don;t know how to get an object reference to the preview window. WROWS(), and the other routines find the window via its name, but don't provide an object reference.
>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.
>
>* your code here
>
>This.Enabled = .T.
Thanks.
Alex