Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler - part 2
Message
De
16/05/2007 16:43:38
 
 
À
16/05/2007 16:37:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01225893
Message ID:
01226165
Vues:
14
>>Great! About the only change I'd make is:
>>
TRY
>>  _Screen.RemoveObject("AselobjTimer1")
>>CATCH
>>ENDTRY
>>before the initial _SCREEN.AddObject().
>
>Thanks. Yes, good idea. The other thing is, you surely want to remove the eventhandler from the _screen.oEventhandlers collection when the class unloads. I'll leave this task as "homework".
>
>Bye, Olaf.

I'll have to think about that some. You'd also need a counter for the handler, in case more than one designer is using it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform