Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Control Class
Message
 
 
À
05/11/2001 12:03:58
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00577403
Message ID:
00577438
Vues:
23
>Mark,
>
>I can now control the class in my form. When the timer fires it disables itself and runs a program. How can I get the program to enable the timer again when finished?

When the timer event fires, pass a reference to the timer object to the program -- DO SomeProg with THIS

You now need an lparameters toObject statement in the SomePROG to accept the object reference to the timer. At the end of that code, you can re-enable the timer by issuing a toObject.Enabled = .t. command. Check to make sure that toObject is indeed an object [vartype] with an enabled property [pemstatus].
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform