hide tab in tabControl ?

K

Kostya Ergin

I try to hide one tab in tabControl.

Write such line:

tabControl.TabPageCollection.Item[1].Visible = false;

Compiler speaks:

[C# Error] Internal Compiler Error (0xc0000005 at address 535DB439): likely
culprit is 'BIND'.
[C# Error] WinForm.cs(56236): Internal Compiler Error: stage 'BIND'

Somebody knows how correctly to hide a tab?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top