muratboy31 Posted December 2, 2015 Share Posted December 2, 2015 Arkadaşlar merhaba, tabcontrol daki bir tabı seçmeye çalışıyorum ama olmuyor nedense ; SuperTabItem tp = new SuperTabItem(); tp.Name = LastTab; bool isPresent = false; for (int i = 0; i < superTabControl1.Tabs.Count; i++) { if (superTabControl1.Tabs[i].Name == LastTab) { isPresent = true; break; } } if (isPresent) { superTabControl1.SelectedTab = tp; } Quote Link to comment Share on other sites More sharing options...
KintaRo Posted December 2, 2015 Share Posted December 2, 2015 SuperTabItem DevExpress kontrolü mü? Quote Link to comment Share on other sites More sharing options...
muratboy31 Posted December 2, 2015 Author Share Posted December 2, 2015 Hayır başka bir control Devcomponents Quote Link to comment Share on other sites More sharing options...
KintaRo Posted December 2, 2015 Share Posted December 2, 2015 valla o bende yok deneyemedim o yüzden. Quote Link to comment Share on other sites More sharing options...
muratboy31 Posted December 2, 2015 Author Share Posted December 2, 2015 (edited) aşağıdaki gibi çözdüm ; SuperTabItem tp = new SuperTabItem(); tp.Name = LastTab; for (int i = 0; i < superTabControl1.Tabs.Count; i++) { if (superTabControl1.Tabs[i].Name == LastTab) { superTabControl1.SelectedTabIndex = i; break; } } Edited December 2, 2015 by muratboy31 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.