How do you "Link" a button and a text box? Right now, I'm testing around with a password storing program where the user must first type a user name and password,both separate text boxes,then a panel becomes visible,with a label that says "Choose an account",followed by a list box that will have multiple different accounts,then a button below that to select them,to where when the person clicks an option,they must click the select button. Next to those(also on the panel) are 3 labels and 3 read only text boxes, the labels say "Account Name","Login",and "Password",there is 1 text box below each of those. When the user clicks the account under the list box and clicks "select",I want the correct account name(same as in the list box),that account's login,and that account's password. So basically have 2 questions,linking the username and password in the beginning to where it must be the correct login or else a message box will come up saying something like "Login Incorrect",but if they have the correct logins,the panel will become visible and show up next to the page. The next question is about the list box and linking the button,and linking the button to the 3 read only text boxes. How do I do this? So far,I added an example,there is 1 item under the list box,which is "banana1". The accountname is Banana2(so I don't get confused while I work on it,I will change it once I am done with the program),the user name is "pickle",and the password is "potato123". Help,please?