"Chris Ammann" <ch...@caltechnix.com.mx> wrote in message news:3f78...@news.softvelocity.com...
"Chris Ammann" <ch...@caltechnix.com.mx> wrote in message
>Is it possible to set up more than one timer in the same window? Actually
clarion >doesn't permit several timer but there might be an other template
that works >around this limitation
Use the API functions SetTimer, KillTimer. I recommend that you use a
Timerproc callback, simpler than trying to grab timer events in a sub
classed function.
Dennis
Thank you very very much. It works all fine.
We had so much problems before, cuz it needed so much processor performance.
Muchos gracias
Chris Ammann
ch...@caltechnix.com.mx
<Scott Ripley> escribió en el mensaje
news:u4klnvglli45cn71k...@4ax.com...
> Chris,
>
> I had a need for multiple timers a while back and created an object to
> do it for me.
>
> Based on your request and the minimal responses you received I dug it
> up, cleaned it up and put a template around it.
>
> Attached you'll find a ZIP with 3 files.
> JSR.TPL, JSRTIMER.INC and JSRTIMER.CLW
> Put the TPL in your TEMPLATE directory and the other two in your
> LIBSRC directory. Register the template and you should then have
> available on any WINDOW procedure under the EXTENSIONs button a "setup
> multiple timers on a window" extension available. NOTE this is ABC
> only.
>
> I would recommend adding the extension with a few timers and then go
> to embeditor mode to see what it's done for you. You should be able
> to see the timer embeds at the bottom of your code.
>
> I don't have any documentation but will be glad to assist if you want
> to use it. Think of it as shareware.
>
> Scott Ripley
Steve Parker
--------------------------------------------------
kb and download center at:
www.par2.com
KB: http://www.par2.com/cws/c5launch.dll/FAQS/THEFAQS.exe.0
--------------------------------------------------
"The improbable, we do. The impossible takes a bit longer."