(Written by David McMinn and fixed by Dave Newton) Hi David, >> 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. > >Yep, I was going to try exactly this ages ago, but I couldn't be arsed because >the amount of hassle for keeping the second array in sync with what had been >entered was more than I needed for a small test I wasn't going to do anything >with anyway. > >But I've attached the hook code for what I did. Well seeing how you nicely sent the almost working code...here`s my quick fix for making it work :)....I wouldn`t bet my trousers on it keeping track under all intuition weird messages (like reset/undo??)....but it should work (from some old editor code sort of). Hope it helps someone.... Dave P.s. I`m not sure how REPLACECHAR works...as how do you do overwrite chars in a gt string gadget???