|
-
May 5th, 2004, 03:59 PM
#1
Thread Starter
Member
Textbox to Titlebar ????
Ok I'm creating a program that requires customer info entry and what I would like to do if possible, I've seen it before, is when you type the name of the customer, that it also apear in the titlebar.
The textboxes are as follows:
First Name
Middle Initial
Last Name
Thanks in advance
Brad Nichols
-
May 5th, 2004, 04:03 PM
#2
-
May 5th, 2004, 04:04 PM
#3
Or you could just use a combination of the textboxes, however you want:
VB Code:
Me.Text = TextBox1.Text & " " & TextBox2.Text & " " & TextBox3.Text
-
May 5th, 2004, 04:19 PM
#4
Thread Starter
Member
Yes but how do I get it to update in Real-Time? i.e. as I fill in the textboxes.
-
May 5th, 2004, 04:44 PM
#5
New Member
Put the statement:
Me.Text = TextBox1.Text & " " & TextBox2.Text & " " & TextBox3.Text
to the TextChanged event of each of the textboxes.
-
May 5th, 2004, 04:53 PM
#6
Thread Starter
Member
give me an example of what the code would look like
the placement has got me
Sorry
-
May 5th, 2004, 05:00 PM
#7
New Member
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Me.Text = TextBox1.Text & " " & TextBox2.Text & " " & TextBox3.Text
End Sub
Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
Me.Text = TextBox1.Text & " " & TextBox2.Text & " " & TextBox3.Text
End Sub
Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox3.TextChanged
Me.Text = TextBox1.Text & " " & TextBox2.Text & " " & TextBox3.Text
End Sub
-
May 6th, 2004, 11:32 AM
#8
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|