Muhammadalam
10 pts. | Nov 7 2009 11:45AM GMT
we have 4 tabpages in our mdi child form1. we want to click on main form btton then the control transfer to the tab page2 on child form.how we do that ?



'Store the tab in a variable before removing it
some_page = TabControl1.TabPages(0)
'Remove it
TabControl1.TabPages.Remove(TabControl1.TabPages(0))
'Insert the tab into the collection. This will insert it into the first position
'If the tab order is not important, you could use the Add method instead
TabControl1.TabPages.Insert(0, some_page)


Muhammadalam
10 pts. | Nov 7 2009 11:45AM GMT
we have 4 tabpages in our mdi child form1. we want to click on main form btton then the control transfer to the tab page2 on child form.how we do that ?
