FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Password Fields
Posts: 9
Joined: Tue Aug 28, 2007 09:09 AM
Password Fields
Posted: Tue Sep 18, 2007 03:27 PM

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?

Posts: 682
Joined: Tue Feb 14, 2006 09:48 AM
Password Fields
Posted: Tue Sep 18, 2007 03:47 PM

Try to use TAHOMA font, and will look like winXp password style.

Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Password Fields
Posted: Tue Sep 18, 2007 04:54 PM

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

ifdef FLAT

1 24 ".\WinXP\WindowsXP.Manifest"

endif

Saludos / Regards,



FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Password Fields
Posted: Tue Sep 18, 2007 11:40 PM
Barry,

Why don't you use this :

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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 9
Joined: Tue Aug 28, 2007 09:09 AM
Password Fields
Posted: Wed Sep 19, 2007 09:04 AM

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

Continue the discussion