Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning .F. in the Init event
Message
 
À
25/09/2000 15:55:01
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00420624
Message ID:
00420630
Vues:
19
>I have this in the form INIT:
>...
>...
>if !bNoInst
> return .F.
>endif
>
>I call this form in a .prg with DO FORM MyForm and a Read Events. The problem is that the form did not release. Looking at the debugger the Read Events line is still active. Why this?
>
>Thanks in advance
>Héctor L.


This is because you started the form in the same prg as the read events is.
in the main prg a local reference named myform.
This reference is still active and is released when the prg is stopped.
You can issue release myform to delete the reference.

If the problem was that you want to close the whole program then you can use clear events in the init of that form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform