>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