AllExperts > FoxPro 
Search      
FoxPro
Volunteer
Answers to thousands of questions
 Home · More FoxPro Questions · Answer Library  · Encyclopedia ·
More FoxPro Answers
Question Library

Ask a question about FoxPro
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Markish
Expertise
I can answer general questions related to Foxpro from Version 2.0 to 9.0. I'll try to answer them as quickly as possible.

Experience
I've been into Dbase programming from age of 11. I've worked in versions from FoxPro 2.0 and Foxbase.
Education/Credentials
I've done my B.Tech (IT) with distinction from Anna University, Chennai - India.

 
   

You are here:  Experts > Computing/Technology > Databases > FoxPro > prolem regarding vfp

FoxPro - prolem regarding vfp


Expert: Markish - 5/5/2008

Question
QUESTION: 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.

Answer
Hi 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

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.