Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can automatically refresh the form
Message
 
To
06/06/2005 02:35:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01020386
Message ID:
01020388
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform