Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Control Class
Message
 
 
To
05/11/2001 12:03:58
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00577403
Message ID:
00577438
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform