Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foxpro DOS 2.6a - hide caracters typing

Status
Not open for further replies.

Foxtech

Programmer
May 26, 2001
66
0
0
CA
hi everyone,

I know that has existed a function or procedure that allows to hide or replace with * when user types in. I don't remember what's thread number.

example:

Enter your PIN: **** (4 digits)

Here are my source codes:

@ 1,1 say 'Enter your PIN:'
@ 2,30 get m.PIN valid ChkPin(m.pin)

*** I don't want user to see the PIN when they are typing***

@ 5,1 say 'Enter your date of birth (yymm):'
@ 6,1 get m.DateBirth pict '!!!!'


Function ChkPin

Return

please advise and thanks a lot.

FoxTech

 
Some nice ideas are in thread182-924678. Also, search using PASSWORD as a keyword for other ideas.
 
you can try giving to the Get field a color pair (foreground and background) composed of the same color... the cursor will move as user enter text but he cant see it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top