Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can automatically refresh the form
Message
 
À
06/06/2005 02:35:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Divers
Thread ID:
01020386
Message ID:
01020388
Vues:
20
This message has been marked as the solution to the initial question of the thread.
Hi Arun,
* form::Init()
This.AddObject("tmrRefresh","_tmrRefresh")

* form::Activate()
This.tmrRefresh.Enabled=.T.

* form::Deactivate()
This.tmrRefresh.Enabled=.F.

* form::Destroy()
This.tmrRefresh.Enabled=.F.


****************************************
DEFINE CLASS _tmrRefresh As Timer
   Name="_tmrRefresh"
   Enabled=.F.
   Interval=10*60*1000 && 10 minutes


   PROCEDURE Timer()
      Thisform.Refresh()
   ENDPROC

ENDDEFINE  
MartinJ

>Hi All,
>Please help me, i want to refresh the form automatecally after every 10 or 15 minutes.
>Thanks in advance.
>
>Arun, india
>(New VFP user)
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform