Page 1 of 1

Any chance of a timer?

Posted: Mon Jul 30, 2007 9:28 am
by xProgrammer
I really need a timer for one part of my application. I don't suppose anyone has done one for xHarbour/FiveLinux? Anyone with any pointers as to how I might go about creating one? Please someone!

I would be eternally grateful

xProgrammer

Posted: Mon Jul 30, 2007 10:32 am
by Antonio Linares
Doug,

We may have them ready for today :-)

Posted: Mon Jul 30, 2007 12:04 pm
by Antonio Linares
Doug,

This is already working fine. We email you new files:

Code: Select all

#include "FiveLinux.ch"

function Main()

   local oWnd, oTmr

   DEFINE WINDOW oWnd TITLE "Testing timers"

   DEFINE TIMER oTmr INTERVAL 200 ACTION oWnd:SetText( Time() )

   ACTIVATE TIMER oTmr

   ACTIVATE WINDOW oWnd

return nil

Many Thanks

Posted: Mon Jul 30, 2007 12:31 pm
by xProgrammer
Antonio

I hope that your customers appreciate the wonderful effort you put in to supporting your products and your preparedness to try to meet their needs.

Doug

Posted: Mon Jul 30, 2007 12:35 pm
by Antonio Linares
Doug,

Thanks for your kind words :-)