> Hi Karina,
>
> I did something similar a while back, I need to dig the code out.
>
> By the way, doesn't your code break when your hit 'Backspace'?

Hi Alex,

As I said, it's e-mail lingo off the top of my head. But it shouldn't break
on backspace, rather just ignore it (any key will be intercepted unless
"pass" is used, and I'm not using pass on any of the keys). To make
backspace usable, just add:

on keyDown me
  if "1234567890abcdefghijklmnopqrstuvwxyz" contains the key then
    put the key after pqPassword
    put "*" after pmMem.text
  else if the key = "RETURN" then
    me.checkPassword()
  else if the key = "BACKSPACE" then
   pass
  end if
end

That should do the trick.

Does your own script use a different technique?

Karina



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to