Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer enabled
Message
 
 
To
12/06/2012 08:39:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01545860
Message ID:
01546867
Views:
94
>I remember something along the lines of
>function EnabledFlip() in the baseclass of the timer in one of the fwks I worked with...
>Probably the same issue, as calling a method carries a hefty payload compared with
>pure propetry modification. _assign ist less heavy, you might check that way.
>
>Another issue was that (at least in vfp6)
>the timer seemed to work more reliable if housed on forms
>
>regards
>
>thomas
>

Can you please elaborate?

I have a main application object and it has this line
.oIdleTimer = NEWOBJECT("tmrIdle","Utils.vcx")
where tmrIdle is a timer class. This application also utilizes cpptimer although I am not sure it needs to use it.

Anyway, if I open many forms including some with ActiveX controls and switch to another application (having my VFP application minimized), the Login form (which is supposed to come after period of inactivity) never comes. If I switch back to VFP application (so it's in front) and don't do anything, then the Login form appears fine.

This seems to only happen if I open ~ 10 or more forms at once.

-------------------
I am wondering if there is a simple way to solve the problem without too much changes in the original logic?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform