Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I release a top level form from its menu/toolbar
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00376705
Message ID:
00381388
Views:
17
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform