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 > hide display of characters in @ ... Get statement of Foxpro2.6 for DOS

FoxPro - hide display of characters in @ ... Get statement of Foxpro2.6 for DOS


Expert: Markish - 9/5/2008

Question
QUESTION: Sir,
Please tell me how can i hide the display of characters while entering data in a field using @.... Get Command for example if i don not want the other person to see password that i enter, how can i hide display
Thanks


ANSWER: Hi Jatinder,
    You can use the color clause to achieve this. Something like


@ 10,20 Say 'Password' colo 10/2
@ 10,30 get mpassword pict '!!!!!!!!' colo n
read

Hope the above helps you...
best regards,
Markish

http://markishonline.com



---------- FOLLOW-UP ----------

QUESTION: Sir, Sorry to say but the solution provided by you didn't work.
Query was :
Please tell me how can i hide the display of characters while entering data in a field using @.... Get Command for example if i don not want the other person to see password that i enter, how can i hide display


solution given was:
ANSWER: Hi Jatinder,
   You can use the color clause to achieve this. Something like


@ 10,20 Say 'Password' colo 10/2
@ 10,30 get mpassword pict '!!!!!!!!' colo n
read

Hope the above helps you...
best regards,
Markish

Thanks
Jatinder


Answer
Hi Jatinder,
   For this to work, you need to issue "set  intensity off" befor that.

One more idea is to use same foreground and background color.

@ 10,30 get mpassword pict '!!!!!!!!' colo 10/10
read

Hope this helps..

best regards,
Markish

http://markishonline.com


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.