On screen live time diplay - is it possible? (AREV Specific)
At 25 MAR 1998 11:11:49PM Ed Arend ([email protected]) wrote:
I have a collector window that need to display the current system time.
I need it to update in real time so a user walking up to the screen can see the current system time displayed without any user action.
Anyone know how I can do this?
This screen may be idle for long periods of time between users. It is for a bar coding and time clock workstation application.
Thanks for your help
Ed
At 26 MAR 1998 02:14AM Curt Putnam wrote:
One approach is to have your window do a continuous call to a specific part of the commuter. This routine stores the last time it checked in a register. After a sufficient time, have it put a up a bordered message window ("UB") to which you continuously print the time. Make sure you include a Yeld() statement if this will run on W95 or NT stations. Exit the routine by checking for a specific keypress (Input statement)
At 26 MAR 1998 11:10AM Aaron Kaplan wrote:
Or, but in a post-index, replace index call that prints the time, checks for a keystroke, prints the time, checks for a keystroke and so on.
At 26 MAR 1998 01:16PM Victor Engel wrote:
I used to have a time display on my screen at all times. It was loaded using a TSR. I think this will probably be your simplest solution. I no longer have this TSR, but I'm sure with a little searching you can find/write one.
At 26 MAR 1998 01:44PM Ed Arend wrote:
Thanks for all the suggestions. I think I will try the TSR route. I bet I can find one on the web. Being new to AREV programming I was not sure if there was an easy way that I was not seeing.
Thanks
Ed
At 31 MAR 1998 10:53PM Bill Titus wrote:
You could use a Smart Label in the collector window. Create a prompt.
Highlight it, F4, F2 to change the prompt to a label. Highlight again
and F4, F2 to change label to Smart Label, which requires a code and
command. To display this system time in HH:MM format, use code=! and
command=TIME. I don't know if you can change the format to HH:MM:SS.