|
Well, I can think of a way to simulate this, IF the password field is the only field accepting input on the screen format. You define a one byte character field as input, non-display, auto record advance. Each character is captured and appended to the end of an internally defined password field, and a '*' is added to the end of an output only field that appears on the screen. There are real problems with doing this, however. Performance on heavily loaded machines would be poor, backspace must be simulated with some other function key (I used the home key). It a PITA, but it does work. I had to use this for a requested enhancement to our software to provide a "listbox" search (like M$Word spelling window). Users were happy with the results, but the limitations leave me generally unsatisfied with the approach. I think there's a way via UDDS or DSM to switch on 'Text assist" mode that would reduce some of these restriction (like the backspace), but I haven't had time to dig for it..... eric.delong@pmsi-services.com ______________________________ Reply Separator _________________________________ Subject: Re: Placing *'s in a password field. Author: <RPG400-L@midrange.com> at INET_WACO Date: 5/12/00 12:48 PM Rich I think you will only find that on Character mode computers(PC's) which respond to each keystroke, the AS/400 like mainframes, etc are Block Mode. The computer doesn't see nothin till the enter/command key. It would have to be done on the work station controller. Don't hold your breath. John Carr http://www.400school.com/pstsql.htm -------------------------------- Is there anyway to replace the characters in a field with an * as the user types the value into the field? Currently the field is non-display but the user wants to see the * appear as they type. Rich Dotson +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.