-=> Robert Lamping schreef op 28 Mar 97 13:12:01 aan All over Background
Events..<=-
RL> A clock in the upper right corner is simply defined with:
RL> define bgevent action clock()
RL> And the function:
RL> Function clock()
RL> Local nRow := row()
RL> Local nCol := col()
RL> @ 0,72 say time()
RL> Devpos( nRow, nCol)
RL> Return NIL
RL> Let me know what you think of it.
...It's all right as long as your program does JUST THAT in an
endless loop.
But as soon as you put a waitstate somewhere (GET...READ, MENU TO,
ACHOICE, INKEY) the clock stops and only gets active again AFTER the
input...
No, a clock can only be done by hanging it on an interrupt, which
can't be done in pure Clipper. But there are plenty LIB's with
functions that do so for you....
Nice try...
Cu,
Ron
--- Blue Wave v2.12
---------------
* Origin: SYNCNET BBS - +31-35-6237178/6244318 [ISDN] (2:283/1)
|