Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use createobject
Message
From
01/04/2013 02:58:49
 
 
To
31/03/2013 20:37:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01569609
Message ID:
01569620
Views:
48
Jerry,

if prg-based, along the lines of
define class Timerform as BaseForm
  Add Object  oTmr as _tmrRT with Enabled=.f.  && unless set in base class...
  
  procedure init
  this.oTmr.Enabled = .t.
  READ EVENTS

enddefine
if the form is vcx-based, add the timer visually.

HTH

thomas

>but I'm not sure I understand. what should I do to fix it?
>
>>>
>>>but no respond, what am I missing?
>>
>>when the init is done, the timer variable will be released ?
>>As in probably before first fire ?
>>Put the reference into a form property..
>>
>>Furthermore there is much to be said for always having a base class,
>>in timers having base code disabling timer when debugger is running for starters ;-)
>>
>>HTH
>>
>>thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform