ask password

Michael Walas walas at capital.net
Wed Jan 30 12:58:00 EST 2002


Thanks, Chip.  Works like a charm.  This list is a great resource!!

I wrote:

>Is there a way to implement the ask password command but in "regular"
>MetaCard stack  flds- not just the ask dialog substack?  I can't find
>any documentation on the mcencrypt function that is used in the ask
>dialog stack's OK button

Chip wrote:

>Try the following in the field script:

>on keydown whichKey
  >global thisPassword
  >put whichKey after thisPassword
  >put "*" after field "password"
>## I used: put numToChar(165) after field "password"## It's the
"bullet" char in Helvetica and Arial on Mac and Windows
>end keyDown

>on backspaceKey
  >global thisPassword
  >put empty into field "password"
  >put "" into thisPassword
>end backspaceKey

>on deleteKey
  >global thisPassword
  >put empty into field "password"
  >put "" into thisPassword
>end deleteKey

>on returnInField
  >send mouseUp to btn "Next"
>end returnInField




More information about the metacard mailing list