0

ahmm.. guys could u please help me about tab control .
I have a text input in textbox1 in tab page 1 and i want
that text from textbox1 will be displayed in textbox2 in tab page 2.
please help me ..

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by vanzhyme
0

Try This

private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
        {
          Textbox1.Text = textbox2.Text; 'here Textbox1 from tab1 and textbox2 of tab2
        }
0

ahmm, I'm using vb 2005 and it doesn't seem to work.
please help me ill appreciate it.
Thanks in advance.

0

i have converted your code to fit in vb 2005.
into this.

private sub TabControl1_SelectedIndexChanged(object sender, EventArgs e)
me.textbox1.text = me.textbox2.text
end sub

but the object is in error of not valid identifier.
please correct me if my code is wrong.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.