积极答复者
tabpage问题

问题
答案
-
你好
TabPage2.Enabled = False
为进一步请检查
Custom tab Control to disable tabs Thanks to Manjuke Fernando
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/6539e423-82b8-4591-a8ef-555346279e15
Be a good forum member. Make this forum a great place to meet and interact with others around the world.- 已建议为答案 Mike FengModerator 2011年9月2日 10:47
- 已标记为答案 Mike FengModerator 2011年9月9日 6:40
全部回复
-
你好
或者你可以嘗試 在TabControl上的SelectedIndexChanged Event上加一些程式碼當使用者 按你不想他們按的TagPage 時你 Redirect 他們到另一個 Tab上
E.G.
Private Sub TabControl1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles TabControl1.SelectedIndexChanged If TabControl1.SelectedTab Is TabPage2 Then TabControl1.SelectedTab = TabPage1 End If End Sub
Please correct me if my concept is wrong
Chi -
你好
TabPage2.Enabled = False
为进一步请检查
Custom tab Control to disable tabs Thanks to Manjuke Fernando
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/6539e423-82b8-4591-a8ef-555346279e15
Be a good forum member. Make this forum a great place to meet and interact with others around the world.- 已建议为答案 Mike FengModerator 2011年9月2日 10:47
- 已标记为答案 Mike FengModerator 2011年9月9日 6:40