Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need Alarm Clock Sample
Message
 
 
To
09/03/2004 01:59:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00884333
Message ID:
00884502
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform