开发者

Disable Tab Pages on Form load and then enable on button click [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I have four TabPages in a TabControl and on the form load the first TabPage sh开发者_如何学JAVAould be Enable and others should be disable. ( Not Hide, Remove or disable Contents of the TabPages).

The following is the example in which first TabPage is enable and others are disable and their text are also dim

Disable Tab Pages on Form load and then enable on button click [closed]

I am new to C#, Looking for simple and accurate solution in c# 2010

Thanks


From what I have read you can not disable tabs like that directly. You do have few alternatives.

  1. First Alternative. http://msdn.microsoft.com/en-us/library/252t3cec.aspx

  2. Second alternative is there may be some third party add on that you can install something like this one.

http://dotnetrix.co.uk/controls.htm

But this is for old versions of .Net I believe, you can search to see if anything latest is available.

3 Alternative can be found here. http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/985b41c3-a1de-4744-8875-63262d4c2718/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜