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:
00381373
Views:
13
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!

>If I understand you, maybe you just need to kill off the toolbar reference in >the form close method:

>thisform.otoolbar.hide
>thisform.otoolbar = .NULL.
>thisform.release
I've acquired quite a taste for a well-made mistake... [Fiona Apple]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform