Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10174
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Set alarm in windows |
| Date | 2017-02-20 15:14 +0100 |
| Message-ID | <eh0c09Fpq8uU1@mid.individual.net> (permalink) |
| References | <ee184ab7-1d62-4d82-916f-35c19e05b4e4@googlegroups.com> |
Hy Henry,
Install in the appropriate Window a timer (SetTimer()) in the Init-Method:
SetTimer(SELF:handle( ) ,1, 1000 , NULL_PTR) // This timer gives one-second
impulses
In the Dispatch method of the Window you ask for the timeticks:
METHOD dispatch (oEvent) CLASS dtaTimer // DataWindow, called dtaTimer
IF oEvent:Message==WM_TIMER
Do something for alarm......
Show a DialogWindow, Play a sound etc....
ENDIF
If you give me some info about a condition you want to check I can write you
a sample.
Regards
Urs
<zodcomag@gmail.com> schrieb im Newsbeitrag
news:ee184ab7-1d62-4d82-916f-35c19e05b4e4@googlegroups.com...
> How can I set an alarm in windows from VO?
>
> Thanks
> Henry
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Set alarm in windows zodcomag@gmail.com - 2017-02-19 23:49 -0800
Re: Set alarm in windows "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-02-20 15:14 +0100
Re: Set alarm in windows zodcomag@gmail.com - 2017-02-20 08:33 -0800
Re: Set alarm in windows D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-02-20 18:18 +0100
Re: Set alarm in windows "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-02-20 21:03 +0100
Re: Set alarm in windows Franz Rachbauer <office@rachbauer.org> - 2017-02-21 07:08 +0100
Re: Set alarm in windows Willie Moore <williem@wmconsulting.com> - 2017-02-21 09:34 -0600
Re: Set alarm in windows Sherlock <sherlock@sherlock.com.au> - 2017-02-21 08:07 -0800
csiph-web