Hi!
VFP will not process any mouse clicks until VFP code stop running or some command (like DOEVENTS) will cause waiting state of VFP. When code is running and no waiting state, mouse clicks are put into a queue, and then fired after VFP code finish. Why you need to change something in this?
Well, this could be solved by using transparent shape. Do you need a code sample for this?
>MouseDown() event fires code, which takes from 0.1 to 3 seconds and I want throw away all clicks, which are made in this time.
>I can do it with:
>this.enabled=.f.
>MyCode
>this.enabled=.t.
>but there are other events, which fire MyCode and I don't want disable command button.
>Pavel
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.