Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ignore mouse click
Message
From
29/09/1997 15:23:07
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/09/1997 14:04:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00051797
Message ID:
00052246
Views:
40
>I tried that and I doesn't change that much because while Visual FoxPro >processes a method, the click is recorded and Visual FoxPro will only fire >the click when the application interface becomes available. So, when the >method is finished, the click will fire and will start another process. > >What I did is something like this in the Click(). > >This.Enabled=.F. >ThisForm.MyProcess() >This.Enabled=.T. > >So, what happen is until those 3 lines are not finished, the application >interface is not available. So, the This.Enabled=.T. will fire before the >click of the mouse is processed by Visual FoxPro. > >The problem remains. Any more suggestions? There was a similar problem with OKL routines - no matter how you prevent them from being called more than once at a time, there's always some wise guy who sets autorepeat on the keyboard rather high with a minimal delay time, and the interface had a silly logic that initiating a new OKL process came before the first process ever had a chance to execute a single line. So, no matter how you forbid recursive (or rather repetitive) OKL calls, someone leaning heavily on a key bombed your app with "Do nesting too deep". I've never found a way to prevent this, so I largely avoid OKL functions. With OKL there were some tricks available, like Set TypeAhead to 0, but with the mouse (which is largely under Windows control now) I see no good way out. Is the old Set Mouse Off still available?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform