
or
Join Now!
|
|
Home/Computing Technology/Programming/Visual Basic
|
| Forum |
Ask A Question |
Question Board |
FAQs |
Search |
Return to Question Board
| Question Details |
Asked By |
Asked On |
| vb |
hotpotato |
01/16/05 |
hi expert! i'm a beginner in vb.net 2003 and i'm just learning to program. I have a question that i would like you to answer for me.
A form contains two text boxes and one large label between them with no preset caption. When the first text box receives the focus, the label reads "Enter your full name." When the second text box receives the focus, the label reads "Enter your phone number."
I have the code under form load as this:
txtBox1.Focus() lblMessage.Text = "Enter your full name." txtBox2.Focus() lblMessage.Text = "Enter your phone number."
but when the form loads it displays..both?? so i'm not quite sure if i did it correctly according to the question. Can you show me the coding for the above question?? Thank you so much! |
|
Your Options |
Additional Options are only visible when you login! !
|
|
|
|