Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent Gotcha - Fires Twice
Message
 
 
À
05/10/2006 02:25:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01158912
Message ID:
01159616
Vues:
20
>You get double event to compensate for the fact that an event handler binded to Destroy event of a form does not fire if the event code of the form is empty. If you put at least a comment line, it fires.
>
>This way, the math adds up right: 2 events fired + 0 events fired = 2 bindevents. Pure logic.

Good explanation, logical. <g>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform