Re: clock in Form3.0

From: Tommy Wareing <p0070621_at_oxford-brookes.ac.uk>
Date: Tue, 5 Jul 1994 08:34:59 GMT
Message-ID: <CsGL6B.4x0_at_uk.ac.brookes>


C.K. Lau (cklau_at_hkuxb.hku.hk) wrote:

> I just want to run a clock while executing a form so that the
current time is display on the screen continuously.

To my knowledge, you can't have it running continuously, since Forms (3.0) only passes control to the programmer when the user does something. You could put in a post-field trigger at form level which updated a non-database time field. Or put similar on *ALL* key triggers (you don't wan't to do this though: Key-down becomes display_time; down; and so forth for all the other keys yeuch.)

You may be able to something with a background process (ie a TSR on a PC, another process on a UNIX box), which simply dumps the time on the screen every second or so. But then if there's a screen redraw, you'll lose your clock until the next 'tick'. It's messy.

--
  _________________________   __________________________________________
 /  Tommy Wareing          \ /  In the beginning, there was The Bomb    \
|  p0070621_at_brookes.ac.uk   X   And The Bomb said "Let there be Light!"  |
 \  0865-483389            / \     - The Bomb, Dark Star                /
  ~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Tue Jul 05 1994 - 10:34:59 CEST

Original text of this message