Any chance of a timer?

Any chance of a timer?

Postby xProgrammer » Mon Jul 30, 2007 9:28 am

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
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby Antonio Linares » Mon Jul 30, 2007 10:32 am

Doug,

We may have them ready for today :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41283
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Mon Jul 30, 2007 12:04 pm

Doug,

This is already working fine. We email you new files:
Code: Select all  Expand view
#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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41283
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Many Thanks

Postby xProgrammer » Mon Jul 30, 2007 12:31 pm

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
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby Antonio Linares » Mon Jul 30, 2007 12:35 pm

Doug,

Thanks for your kind words :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41283
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 8 guests