Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top-Level Form problem
Message
De
20/02/2004 07:52:06
 
 
À
18/02/2004 21:18:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00876959
Message ID:
00879132
Vues:
18
Remember that this way Destroy method may be called twice: first by Release method and then as VFP event. This can potentially cause errors or just slower form unload.
I recommend you to add Destroying property to the form and use it to reject second call to Destroy method:
* In Form.Destroy method:
IF This.Destroying THEN
  RETURN
ENDIF
This.Destroying = .T.
...
* Destroy method code
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform