Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right-Mouse-Button-Clicking while TIMERS are active
Message
From
29/05/2001 13:51:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00510459
Message ID:
00512318
Views:
18
Thanks for the info! We have some real short interval timers, 50 and 200 ms timers... So that we can continuously read from our probe-devices. They work good, although sometimes we have 2 timers running at once which I don't care for, but it seems to work ok. But it seems we should be able to streamline the code better to get faster response times, and maybe we wont need to have the timers run that quickly? Then maybe the buttons would work better?

Let me ask you something, in most cases I am assuming that with a 50ms timer, the timer is up before the timer-code is finished. Does that mean that the timer-code will re-run immediately, or not until the timer-code is finished, then it runs it again?

I think there is a lot of potential to clean up our code and make it run better/faster, especially with timers. I just need to understand them better.
Thanks!
Seth

>if you have a fast interval under 5000 (5 seconds) I have seen soom very funny stuff
>
>If you are trying to get a up to the second reaction from the timer then you are asking a lot from VFP
>
>>Hey Dudes,
>>
>>In one of my applications, I have TIMER objects constantly running code. (They
>>are constantly reading data from various probe hardware).
>>
>>Buttons on forms should always be usable while the TIMERs are running.
>>
>>In certain circumstances, it takes multiple attempts to click buttons on the forms before the button actually registers the click.
>>
>>HOWEVER, by clicking both the LEFT and RIGHT buttons on the mouse at-the-same-time, yields 100% success rate every time! Strange!
>>
>>Upon further testing, the RIGHT mouse button always seems to select the button properly, while the LEFT mouse button clicks it and gets the button to work.
>>
>>So I figure that the RIGHT button is the key instrument to getting this 100% button-clicking success rate.
>>
>>Any ideas why? Or how I can get the LEFT button to work 100% like the RIGHT button? I was thinking that maybe I could force a RIGHT-mouse-click everytime the user clicks the LEFT-mouse button. Any ideas if this is possible?
>>
>>Anyone else have encounters like this?
>>Thanks for any help!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform