This is a migrated thread and some comments may be shown as answers.

Passing the name of the selected tab to a new form

1 Answer 51 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ken
Top achievements
Rank 1
Ken asked on 19 Nov 2008, 07:55 PM
I know how to get the name of the selected tab, but how do I pass the name of the selected tab to a new form. It's kepps coming up as null. I'm using VB.NET

Thanks,
Kenny

1 Answer, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 21 Nov 2008, 04:23 PM
Kenny,
     If you can access the name of the tab, you should have no problem passing it to another form.  Can you post some code to demonstrate what you are currently attempting?  I am guessing you are already doing something similar to the code below to get the name of the tab.

Dim frm2 = New Form2()  
frm2.Text = RadTabStrip1.SelectedTab.Name  
frm2.Show() 

-John
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Ken
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Share this question
or