Password Fields

Post Reply
Barry O'Brien
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England

Password Fields

Post by Barry O'Brien »

Hi,

I have a GET that is created from a resource file and is set as a password field.

Is there any way to change the character that is used to mask the password?
Currently it uses a fat pipe character (like "|" but thicker!).
Ideally I would like it to use the Windows default mask.

Does anyone know if this is possible?

Kind regards,

Barry O'Brien

P.S. Is it possible to add screenshots to my post without having to link to an external URL?
User avatar
Biel EA6DD
Posts: 680
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca
Contact:

Post by Biel EA6DD »

Try to use TAHOMA font, and will look like winXp password style.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Post by MOISES »

Why don´t you add xp themes support to your .rc?

#ifdef __FLAT__
1 24 ".\WinXP\WindowsXP.Manifest"
#endif
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

Barry,

Why don't you use this :

Code: Select all

REDEFINE oGET VAR cPassw ID 101 of oDlg PICTURE "!!!!!!"
oGET:lPassWord := .T.
If you type in the password, only asterisks will appear.

Good luck.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Barry O'Brien
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England

Post by Barry O'Brien »

Thanks everyone for your input!

Biel's solution is the only one that I could get to work, but it does work perfectly for my needs.

Thanks again,

Barry
Post Reply