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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Passwordchar for Textbox in grid

Status
Not open for further replies.

TGrahmann

Programmer
Feb 19, 2015
43
US
Hello, I am currently experiencing some issues dealing with the textbox in the column of a grid. When I want to change the passwordchar="*" it only masks the text when the cell is active. Is there any way to fix this?
 
Try sparse = .F.

Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
 
That worked! I'm also having an issue with creating a special passwordchar+inputmask hybrid. Basically I need part of a textbox to be masked for a social security # so I want the textbox output to look like this ***-**-1234. Any Ideas?
 
There is no partial secrect textbox, so make it three textboxes and "-" as labels vetween them, make the first two textboxes password textboxes.

Bye, Olaf.
 
Ok, thanks. One more small thing. If I wanted to give a user the remaining amount of days his software license had, how would I calculate that. Say the expiration date was 02/29/15 and I want to use the current date to calculate when it will expire. What would be the calculation formula?
Thanks So Much, You Guys Are An Awesome Resource For FoxPro Question!
 
It's not a good idea to ask a new question in an old thread. In future, please start a new thread for a new question.

IAC, you can simply subtract dates in VFP:

If dExpire is your expiration date field, then

dExpire-DATE()

gives you days between that date and today.

Tamar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top