>However, the form Resize event fires during the shutdown process. If you read Stephen's reply, I think he may be on to it. Probably has something to do with the destruction of the objects and/or the order of destruction when the form is shut down, so even tho the objects are "still defined", they must not be "seeable" when the Resize is fired during shutdown. As Stephen suggested, I guess I'll just put a flag in to test when the form is shutting down.
Hi Bill -- I got curious and tested a bit - the grid resize doesn't seem to run unless it is actually resized. But the form resize runs a LOT. Once on opening, and THREE times on closing, for my test case. So any code there may need monitoring, as with Stephen's idea, for sure.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.