Passing the name of the selected tab to a new form

2 posts, 0 answers
  1. Ken
    Ken avatar
    5 posts
    Member since:
    Aug 2008

    Posted 19 Nov 2008 Link to this post

    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
  2. John
    John avatar
    30 posts
    Member since:
    Aug 2008

    Posted 21 Nov 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top