FoxPro/prolem regarding vfp
Expert: Markish - 5/5/2008
QuestionQUESTION: i want to disable the functionality of mouse click while entring the data in a text box, just want to take the action after pressing enter key , if mouse buttion has beem pressed by the user no action should take place.
ANSWER: Hi Shambhu,
Clicking the textbox puts the focus into it, hence you can edit it. If you want to disable editing, AFAIK, the only way is to disable it and when you press enter in some other textbox, enable it and set the focus to it.
Best regards,
Markish
---------- FOLLOW-UP ----------
QUESTION: i am entering a number for searching it after pressing enter key, but in the same time mouse click is working the same job as enter key, if placing the mouse pointer any where whithin the form and just click there , the same task will be repeated.... So, i want to disble the functionality of mouse buttons while entering the data ...
I think this time u better understand what help i need.
AnswerHi Shambu,
I don't understand exactly what you are trying to do. As far as I understand, I think, you are trying to have a search command button
Then add the code to search in the 'command button' click event.
Let me know the exact issue so that I can help you.
Best regards,
Markish