On 1/14/04 12:37 AM, "Wouter" <[EMAIL PROTECTED]> wrote: > > On 13 Jan 2004, at 10:12, [EMAIL PROTECTED] wrote: > >> Message: 10 >> Date: Tue, 13 Jan 2004 08:32:58 +0100 >> From: Yves COPPE <[EMAIL PROTECTED]> >> Subject: Re: simple modal questions >> To: How to use Revolution <[EMAIL PROTECTED]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> >> Le 13 janv. 04, � 07:50, Dar Scott a �crit : >> >>> >>> On Monday, January 12, 2004, at 07:58 PM, Doug Lerner wrote: >>> >>>> (2) How do you make a text field into a "password" field (asterisked >>>> out)? >>> >>> >> >> >> here is a sample : >> >> suppose you have a fld named "pass" >> >> here is the script of the fld : >> >> local thisPassword >> on returninfield >> get thisPassword >> if it is <whateveryouwant> then >> ##do your stuff >> else >> answer "Tentative ill�gale !" >> close this stack >> end if >> end returninfield >> >> on enterinfield >> returninfield >> end enterinfield >> >> on keydown whichKey >> put whichKey after thisPassword >> put "*" after field "pass" >> end keyDown >> >> on backspaceKey >> put empty into field "pass" >> put "" into thisPassword >> end backspaceKey >> >> on deleteKey >> put empty into field "pass" >> put "" into thisPassword >> end deleteKey >> >> >> Hope this helps. >> >> >> Greetings. >> >> Yves COPPE >> [EMAIL PROTECTED] >> >> > > > > What about the : > < ask password clear > command? > > Try this in a button: > > on mouseUp > ask password clear "Enter your password" > put it > end mouseUp > > Greetings, >
But that requires you to get the password in a separate dialog, right? doug _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
