Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bomb out of form at Init()
Message
 
 
À
01/07/2004 01:22:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00919029
Message ID:
00919514
Vues:
13
>>>
RETURN .F.
>>
>>Destroy event will not run. Just in case...
>
>It is an interesting point, and it may be well worth to remember it. However, I want to ask, when do you think that this could cause any problems?

If you do cleanup in the Destroy.
From Unload you can't see the form's properties, from Destroy you can. So if a property contains an alias of a cursor which you create in the Init and you want to close the cursor as the form is released (destroyed) you won't be able to do so with Return .f. in the Init.
All the best.
Kamil
A moment of silence is our cosmic reset button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform