By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,782 Members | 1,287 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,782 IT Pros & Developers. It's quick & easy.

Multiple textboxes: Enter value in one, disable the other

P: 1
i have a form in which i have two text fields and i want that the user enter value in one field at a time when i implement disable property then connectivity exception occurs can i implement lock in other text box when user enter value in one text box?how i can implement this?please help...
Jul 28 '12 #1
Share this Question
Share on Google+
2 Replies

P: 126
you can use setEnabled() function with boolean values true or false
Nov 6 '12 #2

P: 2
you can catch a keylistener and in it setEnabled(false) the second textbox
Nov 21 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.