Clever trick, I'll have to stick in a few variables to remember positioning of the window prior to closing it, otherwise any changes to window position get erased every time. Thanks for the trick, I guess I'll have to use that since the ! prefix doesn't seem to be working.