Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on Passwordchar
Message
De
25/10/1999 05:16:49
 
 
À
25/10/1999 02:46:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00280864
Message ID:
00280879
Vues:
11
Yes, you're right. It worked using command buttons. I am using a checkbox, and hadn't initialised the variable first, so it was treating it as numeric instead of logical. That was the 'data type mismatch'.

Thanks for your help.

>I tested this in VFP 6 SP3. I put a textbox with no PasswordChar and then two commandbuttons, one to set it to "*" and the other to set it to "" (display normally). Both commandbuttons worked as expected. Maybe something else is at work here?
>
>
>>I have a textbox for entering passwords. It is usually masked using the '*' character in the passwordchar property.
>>
>>I'd like to have the ability to remove the masking on the fly, so the System Administrator can see the password, while a 'normal' user can't, but when I try to change the passwordchar property as below, I get an error, which says there is a data type mismatch.
>>
>>THISFORM.PASSDISPLAY.PASSWORDCHAR="*"
>>
>>The help says the property is character, and is available at run time. Does anyone know if I can change it on the fly and if so, how?
>>
>>I'm using VFP5a SP3
>>
>>Thanks in advance
>>
>>David O'Brien
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform