Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM, but then it won't release?
Message
From
15/02/2013 13:49:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01566153
Message ID:
01566160
Views:
83
>Hi all,
>
> I'm calling a form from a .prg and really wish it would release when I click it's "X" or issue a ThisForm.Release within one of it's methods. Yet it malingers on the screen (unless I click somewhere outside the form) and then, naturally, I "cannot quit Visual FoxPro". Haha. I suspect my problem is common. I thought I could config a form to be called and it would handle it's own READ/CLEAR events independent of the calling .PRG What am I missing?
>
>FYI: the form is Modal, I have it's .Active containing READ EVENTS and it's .Unload containing CLEAR EVENTS.

I definitely wouldn't put READ EVENTS in Activate. In fact, you don't need READ EVENTS for a modal form, so just remove those.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform