Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ideas on solution?
Message
De
01/02/2003 02:55:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00747185
Message ID:
00747978
Vues:
18
David,
cool again.

>It doesn't have to be as complex as you coded, this works:
>
>
_screen.AddObject( "test1", "myTimer" )
>
>define class myTimer as Timer
>Interval = 10000
>
>function Timer()
>  ? "fired"
>  this.Parent.RemoveObject( this.Name )
>endfunc
>enddefine
>
>you can use this.parent to get a nameless reference to it's container.
>
>And I just tested this and it seems to work just as well:
>
>
function Timer()
>  ? "fired"
>  release this
>endfunc
>
>
Bill Morris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform