Password Fields

Password Fields

Postby Barry O'Brien » Tue Sep 18, 2007 3: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?
Barry O'Brien
 
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England

Postby Biel EA6DD » Tue Sep 18, 2007 3:47 pm

Try to use TAHOMA font, and will look like winXp password style.
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Postby MOISES » Tue Sep 18, 2007 4:54 pm

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

#ifdef __FLAT__
1 24 ".\WinXP\WindowsXP.Manifest"
#endif
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Postby driessen » Tue Sep 18, 2007 11:40 pm

Barry,

Why don't you use this :

Code: Select all  Expand view  RUN
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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Barry O'Brien » Wed Sep 19, 2007 9: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
Barry O'Brien
 
Posts: 9
Joined: Tue Aug 28, 2007 9:09 am
Location: Oxford, England


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests