f



Display running clock in clipper app.

Hi,
Is there an easy way to put a (running) clock on each screen in a clipper 
application?
The format could be  HH:MM:SS  in a text format.
Thanks
Eric
Antwerp 


0
3/28/2005 3:36:19 PM
comp.lang.clipper 3956 articles. 0 followers. Post Follow

1 Replies
474 Views

Similar Articles

[PageSpeed] 45

On 28/03/2005 23:36, Eric Bloemen wrote:
> Hi,
> Is there an easy way to put a (running) clock on each screen in a clipper 
> application?
> The format could be  HH:MM:SS  in a text format.
> Thanks
> Eric
> Antwerp 

Use the NanForum library function FT_ONTICK()

<http://www.itlnet.net/Programming/Program/Reference/nanfor/ng1b5f7.html>

     // Set up a self-updating on-screen clock

     FT_OnTick( "CLOCK", 9 )

     procedure Clock

     local nRow := Row()
     local nCol := Col()

     @ 0, 0 say Time()

     SetPos( nRow, nCol )

     return

Phil

-- 
Philip Chee <philip@aleytys.pc.my>
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]CURSOR: What you become when your system crashes.
* TagZilla 0.057
0
philip662 (33)
3/28/2005 4:13:54 PM
Reply: