This forum is for eXpress++ general support.
Tom
Posts: 1253 Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany
#1
Post
by Tom » Wed Apr 08, 2015 6:16 am
Hi, Roger.
What about a DCGET ... PASSWORD SHOWLASTCHARACTER clause? Instead of this when typing "ROGER":
"*****"
this:
"****R"
should be shown if the last action was typing the "R". This is standard behaviour in most password SLEs now.
Not urgent. Just an idea. Only three or maybe ten lines in _DCXBPGT.PRG to be changed.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
bwolfsohn
Posts: 651 Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:
#2
Post
by bwolfsohn » Wed Apr 08, 2015 6:37 am
Tom wrote: Hi, Roger.
What about a DCGET ... PASSWORD SHOWLASTCHARACTER clause? Instead of this when typing "ROGER":
"*****"
this:
"****R"
should be shown if the last action was typing the "R". This is standard behaviour in most password SLEs now.
Not urgent. Just an idea. Only three or maybe ten lines in _DCXBPGT.PRG to be changed.
would be a nice addition...
rdonnay
Site Admin
Posts: 4829 Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:
#3
Post
by rdonnay » Wed Apr 08, 2015 9:55 am
That makes a lot of sense.
It will be in the next release.
The eXpress train is coming - and it has more cars.
Tom
Posts: 1253 Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany
#4
Post
by Tom » Thu Apr 09, 2015 12:20 am
rdonnay wrote: That makes a lot of sense.
It will be in the next release.
I see a little problem coming with this. For showing filled circles instead of asterisks, a symbol font can be used for the password. Symbol fonts like Marlett don't have standard characters. I don't believe it's possible to mix two fonts in a SLE.
Attachments
password.jpg (23.95 KiB) Viewed 14927 times
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Wolfgang Ciriack
Posts: 488 Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany
#5
Post
by Wolfgang Ciriack » Thu Apr 09, 2015 3:14 am
Can someone explain the sense of this feature ?
_______________________
Best Regards
Wolfgang
Tom
Posts: 1253 Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany
#6
Post
by Tom » Thu Apr 09, 2015 3:42 am
Hi, Wolfgang.
The user sees the last character typed. This reduces typo errors.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Zdeno Bielik
Posts: 147 Joined: Thu Jan 28, 2010 9:24 am
Location: Nitra, Slovakia
Contact:
#7
Post
by Zdeno Bielik » Thu Apr 09, 2015 4:37 am
if I correct understand it, Tom wants something likes this
while typing ROGER - it will step-by-step shows in DCGET next:
R
*O
**G
***E
****R
rdonnay
Site Admin
Posts: 4829 Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:
#8
Post
by rdonnay » Thu Apr 09, 2015 6:44 am
Actually, there can be 2 problems with this. First is the symbol problem, second is the timeout. People will complain because the last character should only show for 1 second. This requires more code and complicates things. The symbol issue could be handled if the XbpSle class supported owner drawing but I don't think it does. I'll look into this.
The eXpress train is coming - and it has more cars.
Koverhage
Posts: 151 Joined: Mon Feb 01, 2010 8:45 am
#9
Post
by Koverhage » Thu Apr 09, 2015 6:51 am
The user sees the last character typed. This reduces typo errors.
Yes and all people behind the typing person
Klaus
rdonnay
Site Admin
Posts: 4829 Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:
#10
Post
by rdonnay » Thu Apr 09, 2015 7:13 am
Yes and all people behind the typing person
How about an audio feedback then?
"You typed R"
"You typed O"
"You typed G"
...
Hmmm. That's not such a good idea either.
The user sees the last character typed. This reduces typo errors.
We can use the Google method in the Validation code:
Did you mean "hack78wing23!$" ?
The eXpress train is coming - and it has more cars.