Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Password font
Message
De
04/12/1997 18:11:31
 
 
À
04/12/1997 10:00:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00063654
Message ID:
00063884
Vues:
81
>>>>>>>Does anyone know about a font where every character is represented as an asterisk, that I could use in foxpro 2.6 for windows to get a password from the user, so that the characters typed are echoed as asterisk not the real characters.
>>>>>>>
>>>>>>>Thank you in advance
>>>>>>>
>>>>>>>Dag
>>>>>>
>>>>>>Dag, check the 'PasswordChar' property in your textbox. The default is 'none' and the text shows in the font chosen. Replace with a * and you will see that character in your textbox.
>>>>>>
>>>>>>HTH
>>>>>>Barbara
>>>>>
>>>>>Barbara,
>>>>> He is still working in 2.6... I thought I saw font up on compuserve a while back, in the 3rd party area of the Fox Forum, that was Password Font.. PLus they had some code for handling getting a password..
>>>>>
>>>>>Thanx!
>>>>>
>>>>>Tony Miller
>>>>>Vancouver, Wa
>>>>
>>>>Using a font is unreliable. It's too easy to change it.
>>>>
>>>>Vlad
>>>
>>>Thank's very much, everybody, I'm not seeking it anymore...
>>>
>>>Because, simply by erasing the font file, the program starts displaying the characters typed... :(
>>>
>>>Dag
>>
>>Also, using your own font implies that you must install it at setup time, etc.
>>
>>Vlad
>
>
>You could use the x/x,x color setting for the password.
>
>eg :
>
>pwd = space(12)
> @ 12,12 say "Enter your password "
> @13,12 get pwd pwd color x/x,x
>
>
>The above code can be used irrelevent of any font. And note that password font if at all existing, You need not use it.
>
>The above method can be used in program code. If you are using forms, check related color setting property for the edit box.
>
>--Satya

Yes, this can be a solution. But, usually, when you type a password you will see a character displayed for each character you type, only that the display characters are all the same (usually a *). This way you can see how many characters you typed but not what you typed. This is good because the user sees that the program is working and can correct mistakes without deleting all the password.

Vlad
Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform