password entry - extend gs:text-field

Started by unya, August 03, 2010, 03:16:31 AM

Previous topic - Next topic

unya

Hello All,



gs: key-event, gs-set-text when you use a password because you have to build on a string, you may get a little annoying.



JPasswordField using the text-field guiserver tried changing features.



Thanks,



---- Ex 1 ----

(gs:text-field 'PassField 16)

(gs:set-echo-char 'PassField "*")



---- Ex 2 ----

(gs:text-field 'PassField 16 "*")



---- Clear Text ----

(gs:unset-echo-char 'PassField)

Lutz

#1
Thanks, something like this will be added in a future version.



Please attach the entire changed guiserver.lsp and TextFieldWidget.java. My work flow doesn't allow patches.

unya

#2
Hello Lutz,

Thanks for interest this patch.



attached source includes "guiserver.lsp", "TextFieldWidget.java", "Dispatcher.java".



Thank you.

Lutz

#3
you can find the password additions (some more changes were necessary) here:



http://www.newlisp.org/downloads/development/inprogress/">http://www.newlisp.org/downloads/develo ... nprogress/">http://www.newlisp.org/downloads/development/inprogress/

unya

#4
I saw the changed, and nice sample.



Thank you,