Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a screen every minute in FPW2.6
Message
De
28/04/2000 11:17:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00363252
Message ID:
00364494
Vues:
12
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform