comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: password-entry widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: password-entry widget [message #16463 is a reply to message #16462] Mon, 26 July 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Waleed Al-Nuaimy (geoserv@compuserve.com) writes:

> Hi. I'm trying to get a WIDGET_TEXT to behave as a password-entry field,
> echoing asterisks.. I was hoping someone had done this before.

In the text widget, turn the keyword EDITABLE off and the
keyword ALL_EVENTS on. Now you will be getting each
input character event in your event handler. Simply
take each character as it comes in and build your
password internally. But write asterisks to the text
widget. (Only you can edit the text widget, NOT the
user.)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Porting Unix to NT problem 1 - Widget_Base YSIZE
Next Topic: password-entry widget

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 20:42:43 PDT 2025

Total time taken to generate the page: 0.80157 seconds