Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / password boxes

Author
Message
spiffy
18
Years of Service
User Offline
Joined: 3rd Jan 2006
Location: why r u askin
Posted: 20th Jan 2006 17:53
how can u make a password box like "please enter password here ........

im a noob which ways up?
Acolyte Entertainment
19
Years of Service
User Offline
Joined: 28th Dec 2004
Location: Oregon, US
Posted: 21st Jan 2006 02:23


[href]http://snowfall.homestead.com [/href]
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 25th Jan 2006 18:01 Edited at: 25th Jan 2006 18:01
yeah do what snowfall said but then after it put this.



Not it hasn't been tested

hope it helps though

BM

Our aim is to keep the loo's clean, your aim can help.
Computer Nerd
19
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 25th Jan 2006 18:19 Edited at: 25th Jan 2006 18:20
Edit: yeah nevermind you can use snowball's

Big Man has a kind of nice way of doing it but it needs to be a string.



There ya go spiffy enjoy!

Formerly Jonathan Skinner
Now devoted to helping programmers in peril!
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 29th Jan 2006 12:30
Yeah, the Input way of taking a password works fairly good.
However, I myself prefer the good old way where the password inputed on the screen does not show up as the "real" word, but instead as ***** or something similiar.
There is a rather easy way of doing this in DBPro / DBClassic as well.
However, unlike the Input way, it doesn't support deletion of previously entered characters (of course that could be implemented quite easily too by storing every single entered character in an array or similiar, but that you'll have to do yourself )

My code for doing this is as follows:

So now, all you have to do is to edit that to suit your needs
Hope it comes in handy. ^^

Det är väl så

Login to post a reply

Server time is: 2024-11-27 05:50:06
Your offset time is: 2024-11-27 05:50:06