Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the property from other form
Message
De
03/04/2018 13:26:43
 
 
À
03/04/2018 11:13:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01659121
Message ID:
01659124
Vues:
78
>I have a timer in the main form, when the I go to the next form, I need to turn off the timer, otherwise it will cause some problem.
>
>The main form is f_start.scx
>if I still at the same form, I can easily turn off by:
>
>thisform.mytimer.enabled = .f.
>
>
>but when I go to another form (f_cust.scx), I want to turn off that timer in f_start.scx,
>using some command likes this:
>
>f_start.mytimer.enabled = .f.
>
>
>that command is not working, what is the proper command?

Put the code in the original form's Deactivate method, and presumably code to turn it back on in the Activate method.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform