Re: How to keep focus on mouce click

Tech-Archive recommends: Fix windows errors by optimizing your registry



How will you detect "occassional clicking somewhere" from a valid click on a control?

--

----
Craig Berntson
Visual FoxPro MVP


"Stoyan Malchev" <stoyan.malchev@xxxxxxxxxxx> wrote in message news:%238R%2379i8HHA.748@xxxxxxxxxxxxxxxxxxxxxxx
I want to prevent leaving a textbox with occasional clicking somewhere.

Now i do this by placing in valid:
if mdown()
retu 0
endif

Is it possible to detect on which control is the click if I want to prevent click only on any controls?

Thanks in advance for any help.




Relevant Pages