the ask password - bug? revisited
Wouter
wouter.abraham at pi.be
Tue Jan 13 18:21:43 EST 2004
> Re: ask password - bug?
> • From: Robert Eppich
> • Subject: Re: ask password - bug?
> • Date: Mon, 08 Dec 2003 14:56:06 -0800
> Hi Chris,
>
> I can verify the characters not being deleted, it seems to simply put
> the cursor back a character. Mac OS X 10.2 & 10.3 using Rev 2.1.2 is
> what I have seen it on. Workaround is to not use the delete key in the
> dialog, select all text and type gets around the problem. Perhaps this
> is a bug?
>
>
> Robert Eppich
> epsi computer systems, inc.
>
>
>
> On Dec 8, 2003, at 1:27 PM, [EMAIL PROTECTED] wrote:
>
>
> Just use the
> Message Box and enter:
>
> ask password clear "enter password:"
>
> Try typing something, then hitting backspace a couple times, then type
> something else. The characters you deleted get inserted after the
> cursor.
> This only happens when you use the "clear" option from what I can tell.
>
A bit late, but due to the answers on " Re: simple modal questions"
which were workarounds for this bug, the following can be useful
to those who don't want to wait for the next revolution update.
Edit the script of the "ask dialog" stack and change:
on backspaceKey
put the fieldmode of me
if the fieldmode of me is "password"
then deleteone
else pass backSpaceKey
end backspaceKey
to
on backspaceKey
if the fieldmode of me is "password" or the fieldmode of me is "clear"
then deleteone
else pass backspaceKey
end backspaceKey
and save.
Don't be afraid to do the change, as this is the original code from
metacard,
After this everything is working as it should and did before.
Greetings,
WA
More information about the use-livecode
mailing list