Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer _SCREEN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00092031
Message ID:
00092116
Vues:
19
>In oApp.Init I have this:
>
> _SCREEN.AddObject("odTimer","timer")
> _SCREEN.odTimer.Interval = (1000 * cfgDuration)
> _SCREEN.odTimer.Enabled = .T.
>
> * Ok so far, no errors.
>
> Q. Where do I add code to the .Timer event?
> How do I know if anyone has moved the mouse or pressed a key?
> There is no KeyPress for a _SCREEN or formset.
> A while loop to check .Forms seems a little sloppy.
>
>Eric K.
Subclass the timer.

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform