Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to implement a password screen
Message
 
To
18/03/1998 11:05:24
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00085347
Message ID:
00085360
Views:
37
>>>Hi,
>>>I have a screen with a password-like field but, after i enter the password(same font as background) , if I highlight the textbox I can see my input. How can I avoid that? Is there any input mask? I work with FP26.
>>>Thank you very much.
>>>Vlad
>>
>>Vlad,
>>If you set the pen color and the fill color of the text box to be the same, this will work (it works for me!).
>
>Nigel,
>it is exactly what I did, but if i highlight that textbox I can see it. It is very strange. I am working on converting the text I entered into "*"-s. Any other idea? I think it should be a mask or a a code for that. Thanks.
>Vlad

Vlad,
How about using the "When" and "Valid" code... Have a public variable initiated in your setup, in the WHEN, you move the contents of the keyed data into this variable, wipe out the keyed variable. In the VALID, if the keyed data is empty, you move the public data to the keyed variable!! A crayzee way but in theory this should work. BTW - my password screen is just a password - NOTHING else. It returns the keyed password. If the calling program finds it invalid, a retry is affected until three attempts have passed - then aborts.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform