Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A real Timer
Message
From
02/09/1997 18:02:50
Biju Varghese
M.H Alshaya Co W.L.L
Kuwait, Kuwait
 
 
To
02/09/1997 11:07:14
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00048038
Message ID:
00048127
Views:
30
Hi Bela, NullEvents fires only when nothing happens. This means that the UDF fires only if the user doesn't touch the KB or the mouse. Right? What happens if the user runs an SQL and keep moving his mouse? I think u have to update the Thermometer during the normal events as well as the NullEvents. (It'll be slower!) BTW, How do you know in advance when the SQL is gonna complete? HTH, Biju > > > Hi everybody! > > I am working on a timer solution. I have found that VFP timer control > doesnot get event during long statements like SQL select, > and user actions (mousebutton down on window title etc.) > I wrote an fll, in which I use the NullEvent to check the elapsed time, and > if an interval is over it fires a UDF. (Time resolution 1 sec) It works > under normal VFP statements like SQL select (so it is good for animated > thermobar bmp-s, which has no affects for the select performance - max 4 > percent slower). But ... > VFP NullEvents doesnot come under some user actions. So, if user push down > the mouse button my timer event isnot fired. > > Has anybody any idea? > > BB
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform