Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10174

Re: Set alarm in windows

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Set alarm in windows
Date Mon, 20 Feb 2017 15:14:57 +0100
Lines 31
Message-ID <eh0c09Fpq8uU1@mid.individual.net> (permalink)
References <ee184ab7-1d62-4d82-916f-35c19e05b4e4@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="UTF-8"; reply-type=original
Content-Transfer-Encoding 7bit
X-Trace individual.net BscYAAohBE8aClFPfzYlmwRSDSP4elJpGurh4rfCBK2Y+zv5KA
Cancel-Lock sha1:2W1UoAPmsMx7Gywew27BgOFZfkw=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-EsetId 37303A29ABFDDD65617366
X-EsetScannerBuild 32465
Xref csiph.com comp.lang.clipper.visual-objects:10174

Show key headers only | View raw


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


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