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


Groups > comp.lang.clipper.visual-objects > #7135 > unrolled thread

Window:Timer()

Started bybeliniazi@hotmail.com
First post2014-07-31 07:11 -0700
Last post2014-08-04 14:24 +0200
Articles 5 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Window:Timer() beliniazi@hotmail.com - 2014-07-31 07:11 -0700
    Re: Window:Timer() D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-07-31 19:25 +0200
    Re: Window:Timer() "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-08-01 13:53 +0200
    Re: Window:Timer() beliniazi@hotmail.com - 2014-08-01 16:40 -0700
      Re: Window:Timer() "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2014-08-04 14:24 +0200

#7135 — Window:Timer()

Frombeliniazi@hotmail.com
Date2014-07-31 07:11 -0700
SubjectWindow:Timer()
Message-ID<cb2d586d-6482-43d6-a046-6589f256afe3@googlegroups.com>
Hello,

Use the timer () method to trigger some actions, but occasionally this function stops working. One reason occurs when the error ignore and abort appears, but flaws that still can not understand why occurs. Anyone know why?

Tank, Belini Azi

[toc] | [next] | [standalone]


#7137

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2014-07-31 19:25 +0200
Message-ID<d0vkt9hihoq2ljit649327d2lmd4f0icsa@4ax.com>
In reply to#7135
On Thu, 31 Jul 2014 07:11:21 -0700 (PDT), beliniazi@hotmail.com wrote:

Hello Belini,
>
>Use the timer () method to trigger some actions, but occasionally this function stops working. 
>One reason occurs when the error ignore and abort appears, but flaws that still can not understand why occurs. Anyone know why?

We use something like SetTimer(SELF:Handle(), 2, 50000, NULL_PTR)
without problems.

 If you want to know why it aborts, you should provide more info about
the error. If you can't find it, create an error handler catching the
error; if it's a random error it will, with a bit of luck, catch the
error without showing something and without impact on your program if
you can afford to miss one call.

Dick

[toc] | [prev] | [next] | [standalone]


#7139

From"Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Date2014-08-01 13:53 +0200
Message-ID<c41de8F3298U1@mid.individual.net>
In reply to#7135
Hello Azi,

As Dick says, it is better to use the API function SetTimer(...) and 
evaluate the message WM_TIMER in the Dispatch() method.
If you need more info, let me know.
regards
Urs

<beliniazi@hotmail.com> schrieb im Newsbeitrag 
news:cb2d586d-6482-43d6-a046-6589f256afe3@googlegroups.com...
> Hello,
>
> Use the timer () method to trigger some actions, but occasionally this 
> function stops working. One reason occurs when the error ignore and abort 
> appears, but flaws that still can not understand why occurs. Anyone know 
> why?
>
> Tank, Belini Azi 

[toc] | [prev] | [next] | [standalone]


#7141

Frombeliniazi@hotmail.com
Date2014-08-01 16:40 -0700
Message-ID<a9be1afd-8e43-490b-94c8-e1d97ff4969b@googlegroups.com>
In reply to#7135
Hello Dick and Urs, this tested the SetTimer (..) function on my system, I noticed that it is better than RegisterTime (..) function. I will do more tests to use it. I appreciate your cooperation.

Belini Azi, Brazil.

Em quinta-feira, 31 de julho de 2014 11h11min21s UTC-3, beli...@hotmail.com  escreveu:
> Hello,
> 
> 
> 
> Use the timer () method to trigger some actions, but occasionally this function stops working. One reason occurs when the error ignore and abort appears, but flaws that still can not understand why occurs. Anyone know why?
> 
> 
> 
> Tank, Belini Azi

[toc] | [prev] | [next] | [standalone]


#7143

From"Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl>
Date2014-08-04 14:24 +0200
Message-ID<0_KDv.51175$Lw.34904@fe43.am1>
In reply to#7141
A consideration can be to set a timer that checks the timers....
Regards, Marc

schreef in bericht 
news:a9be1afd-8e43-490b-94c8-e1d97ff4969b@googlegroups.com...

Hello Dick and Urs, this tested the SetTimer (..) function on my system, I 
noticed that it is better than RegisterTime (..) function. I will do more 
tests to use it. I appreciate your cooperation.

Belini Azi, Brazil.

Em quinta-feira, 31 de julho de 2014 11h11min21s UTC-3, beli...@hotmail.com 
escreveu:
> Hello,
>
>
>
> Use the timer () method to trigger some actions, but occasionally this 
> function stops working. One reason occurs when the error ignore and abort 
> appears, but flaws that still can not understand why occurs. Anyone know 
> why?
>
>
>
> Tank, Belini Azi 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web