Hi,

I would go the your idea : use a TextField containing "type your  
password here" for the password and as soon as the user click in it,  
swap for a password field.
Maybe to improve speed, make the password field instance ready, so  
only the add/remove will take time.
Also, take into account this particular case :
As a user, I start typing my password but I delete all the caracter I  
entered.
The password field should switch back to the text field with "type  
your password here".

Let us know if that worked or if you try some other idea.

On Oct 21, 2009, at 05:46 , Max Tappenden wrote:

> Hi there,
>
> I want to create a log-in screen for my application, and to have the
> username and password labels inside the text fields - they will empty
> when you start typing. This seems fairly simple to do for the username
> field, an event handler to change the value when the field is
> activated. For the password field though, it's not so obvious. Would
> the best solution be to swap a TextField for a PasswordField when it's
> selected?
>
> In case that's confused - I've been up 20 hours - I'm basically trying
> to achieve the same effect that you get on the me.com login form.
>
> Best regards
> Max Tappenden
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to