K King Coffee Sep 10, 2009 #1 Hi, Do anybody know how can I programmatically select a Tabpage within a tabcontrol ? King
T Tom Spink Sep 10, 2009 #2 King said: Hi, Do anybody know how can I programmatically select a Tabpage within a tabcontrol ? King Click to expand... Hello King, If you look at the properties for the TabControl, there is one called, 'SelectedTab'. Set this to the instance of the tab page you want displayed: /// tabControl1.SelectedTab = tabPage1; ///
King said: Hi, Do anybody know how can I programmatically select a Tabpage within a tabcontrol ? King Click to expand... Hello King, If you look at the properties for the TabControl, there is one called, 'SelectedTab'. Set this to the instance of the tab page you want displayed: /// tabControl1.SelectedTab = tabPage1; ///
K King Coffee Sep 10, 2009 #3 Thank you !!! King Tom Spink said: Hello King, If you look at the properties for the TabControl, there is one called, 'SelectedTab'. Set this to the instance of the tab page you want displayed: /// tabControl1.SelectedTab = tabPage1; /// Click to expand...
Thank you !!! King Tom Spink said: Hello King, If you look at the properties for the TabControl, there is one called, 'SelectedTab'. Set this to the instance of the tab page you want displayed: /// tabControl1.SelectedTab = tabPage1; /// Click to expand...