Blitz (63/640)

From:Dave
Date:15 Aug 99 at 15:48:39
Subject:Re: ******* GTString's!

Hi,

>Gaz-JD/FX-s^D churned out *this* drivel:
>
>> Hi,
>> Nope, not an obscenity in the subject! Is there any way of making a
>> GTString's output into *'s, like the PasswordChar function on (urgh)
>> Visual Basic? I've tried loading in a font made up of *'s. but then the
>> labels are printed in *'s as well. I really want to use GTstrings. Any
>> ideas? Cya!
>
>I can't see anything in the gadtools includes, but I've got reqtools
>source that does this (using the reqtools.library, not the Blitzlibs),
>but it uses requesters, not window gadgets. Mail me if that's any use...

Isn`t there a edit hook that you can use to parse incoming characters, then
you could watch for acceptable characters and store them in an array (so you
know what password has been entered) and return * for gtstring to show. I`m
sure that`s the way you do it, because that`s how you block spaces in
passwords. It`d need some clever handling of things like delete and cursor
keys though.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie