Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use createobject
Message
De
01/04/2013 02:58:49
 
 
À
31/03/2013 20:37:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01569609
Message ID:
01569620
Vues:
47
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform