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 / There's a form to...?

Author
Message
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 26th Dec 2003 05:51
There's a form to make a input password?(when the user input something, it output in asterisks)

Is just of those days when you don't wanna wake up everything is *****, everybody sucks you really don't know why, but you wanna justify rippin' someone head off!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 26th Dec 2003 06:50
Surely

PassString$=""
AstericString$=""

do

`Print the Asteric String
Set Cursor 0,15 : Print AstericString$

`Add asterics on each keystroke
If scancode()>0 and returnkey()=0
AstericString$=AstericString$+"*"
endif

`Add to the actual string, just dont display it
PassString$=PassString$+Inkey$()
loop

Just add in your checking and your all set


Dont forget to Join the Forums!
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 26th Dec 2003 17:48
Thanks

Is just of those days when you don't wanna wake up everything is *****, everybody sucks you really don't know why, but you wanna justify rippin' someone head off!

Login to post a reply

Server time is: 2024-11-25 22:00:46
Your offset time is: 2024-11-25 22:00:46