>Bruce,
>
>thank you for your advice. When I use your three lines of code in the close method, it works as expected and there is no GPF. While checking out what is going on I realized that it is .otoolbar.hide() which prevents the crash. Without the second line (.otoolbar = .NULL.) it is still working correctly. I don't understand that but I am happy with the working form anyway!
Glad it worked. I noticed that the .Hide does the job, too. The .NULL. is just good coding practice.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.