custom password dialogue

Lynch, Jonathan bnz2 at cdc.gov
Tue Dec 6 13:22:23 EST 2005


Ah yes...

One of those little minor things that actually makes it work!


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet
Sent: Tuesday, December 06, 2005 1:18 PM
To: How to use Revolution
Subject: Re: custom password dialogue

Hi Lynch,

Would not you prefer:

On rawkeydown
   Send hideMyKeys to me in 0 seconds
   pass rawkeydown
End rawkeydown

on hideMyKeys
     lock messages
     lock screen
     repeat with i = 1 to the number of characters in me
         if the imagesource of char i of me is not "tinyPadlock" then
             set the imagesource char i of me to "tinyPadlock"
         end if
     end repeat
     unlock messages
     --pass keyUp
end hideMyKeys

Works perfectly.
Good trick :-)

Best Regards from Paris,

Eric Chatonet.

Le 6 déc. 05 à 18:52, Lynch, Jonathan a écrit :

> on hideMyKeys
>     -- enable masking of password during entry
>     lock messages
>     lock screen
>     repeat with i = 1 to the number of characters in me
>         if the imagesource of char i of me is not "tinyPadlock" then
>             set the imagesource char i of me to "tinyPadlock"
>         end if
>     end repeat
>     unlock messages
>     pass keyUp
> end hideMyKeys

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list