Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need Alarm Clock Sample
Message
 
 
À
09/03/2004 01:59:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00884333
Message ID:
00884502
Vues:
18
Tariq,
loAlarm = createobject( "AlarmClock" )
loAlarm.AlarmTime = datetime() + 60 && one minute from now

define class AlarmClock as timer
Interval = 5000
AlarmTime = {}
Enabled = .t.

function timer
if ( datetime() >= this.AlarmTime )
   this.Enabled = .f.
   MessageBox( "Time to wake up" )
endif
enddefine
>I want to use alarm clock in my application. If any body has sample form, please help me.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform