Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM, but then it won't release?
Message
De
15/02/2013 13:49:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01566153
Message ID:
01566160
Vues:
81
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform