Password Dialog Focus
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2009
04:02 AM
10-13-2009
04:02 AM
Password Dialog Focus
Hi,
I am using UISupport.getDialogs().prompt() and UISupport.getDialogs().promptPassword() to get a username and password (respectively) from the user in the project setup script.
I find that prompt() gives a dialog with focus on the test field whereas promptPassword() you have to click on the password filed first before you can enter it.
How would I set the focus to the password entry field?
Regards
Peter
I am using UISupport.getDialogs().prompt() and UISupport.getDialogs().promptPassword() to get a username and password (respectively) from the user in the project setup script.
I find that prompt() gives a dialog with focus on the test field whereas promptPassword() you have to click on the password filed first before you can enter it.
How would I set the focus to the password entry field?
Regards
Peter
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2009
02:17 AM
10-14-2009
02:17 AM
I have fixed this behavior so that the password field now automatically receives focus once the dialog is presented. The change should be available in future nightly builds starting with tomorrows date. Also, did you know you can use UISupport.prompt(...) and UISupport.promptPassword(...) directly? These are simply convenience methods that internally call the getDialogs() method.
Regards,
Dain
eviware.com
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Regards,
Dain
eviware.com
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2009
08:38 AM
10-15-2009
08:38 AM
You could also look at the code for a username/password dialog in http://www.eviware.com/forums/index.php?topic=1619.0
"Ignorance more frequently begets confidence than does knowledge"
