Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a screen every minute in FPW2.6
Message
From
28/04/2000 11:17:51
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00363252
Message ID:
00364494
Views:
11
>Is there a way to make a screen refresh every minute in FPW 2.6? Are there timers in FPW2.6?

No timers but here are some suggestions...

Call the screen in a DO WHILE loop with the TIMEOUT clause!

DO WHILE .T.
DO MySScreen.SPR
ENDDO

Use the # command in the screen for the timeout clause to be inserted - look in Help.


Create a DDE SERVER with a callback into the screen SHOW GETS PROGRAM!

EG In your screen have the SHOW GETS as a separate program that gets called by the DDE server.

The DDE server has only one function in its advise and that is maybe a WAIT WINDOW "" TIMEOUT 60

or =INKEY(60,"H") (syntax?)

Or a DDE server in VFP with a timer

If you want some sample code send me an email

Regards

Bernard
Previous
Reply
Map
View

Click here to load this message in the networking platform