Click here to Skip to main content
16,018,158 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hiding tab pages Pin
Martin#26-Nov-06 23:05
Martin#26-Nov-06 23:05 
GeneralRe: Hiding tab pages Pin
Muammar©26-Nov-06 23:56
Muammar©26-Nov-06 23:56 
GeneralRe: Hiding tab pages Pin
Martin#27-Nov-06 0:24
Martin#27-Nov-06 0:24 
GeneralRe: Hiding tab pages Pin
Stefan Troschuetz27-Nov-06 1:17
Stefan Troschuetz27-Nov-06 1:17 
GeneralRe: Hiding tab pages Pin
Martin#27-Nov-06 1:47
Martin#27-Nov-06 1:47 
GeneralRe: Hiding tab pages Pin
MarkPhB27-Nov-06 1:14
MarkPhB27-Nov-06 1:14 
GeneralRe: Hiding tab pages Pin
Stefan Troschuetz27-Nov-06 1:17
Stefan Troschuetz27-Nov-06 1:17 
AnswerRe: Hiding tab pages Pin
Scott Dorman27-Nov-06 4:39
professionalScott Dorman27-Nov-06 4:39 
As Stefan and Martin pointed out, the Hide() method is inherited from the base class and doesn't have any meaning to a TabControl. In order to "hide" a tab page at runtime you will need to remove that tab page from the TabPages property.

You need to make sure that you do this after the call to InitializeComponent(), usually in your constructor, and simply call
C#
this.tabControl.TabPages.Remove(this.tabPage1)


-----------------------------
In just two days, tomorrow will be yesterday.

GeneralRe: Hiding tab pages Pin
Muammar©2-Dec-06 19:35
Muammar©2-Dec-06 19:35 
QuestionRunning C# on Linux Pin
Muammar©26-Nov-06 21:27
Muammar©26-Nov-06 21:27 
AnswerRe: Running C# on Linux Pin
Guffa26-Nov-06 21:36
Guffa26-Nov-06 21:36 
GeneralRe: Running C# on Linux Pin
Muammar©26-Nov-06 22:58
Muammar©26-Nov-06 22:58 
GeneralRe: Running C# on Linux Pin
Russell Jones27-Nov-06 4:39
Russell Jones27-Nov-06 4:39 
GeneralRe: Running C# on Linux Pin
Guffa27-Nov-06 9:26
Guffa27-Nov-06 9:26 
GeneralRe: Running C# on Linux Pin
Muammar©30-Nov-06 9:59
Muammar©30-Nov-06 9:59 
QuestionApplySort Method Pin
Russell Jones26-Nov-06 21:24
Russell Jones26-Nov-06 21:24 
QuestionIs it possible to get the description of a sql server table ? Pin
jamesjk26-Nov-06 20:40
jamesjk26-Nov-06 20:40 
AnswerRe: Is it possible to get the description of a sql server table ? Pin
darkelv26-Nov-06 20:58
darkelv26-Nov-06 20:58 
AnswerRe: Is it possible to get the description of a sql server table ? Pin
Eduard Keilholz26-Nov-06 20:59
Eduard Keilholz26-Nov-06 20:59 
AnswerRe: Is it possible to get the description of a sql server table ? Pin
Shajeel26-Nov-06 20:59
Shajeel26-Nov-06 20:59 
QuestionInter Application Communication through Components Pin
Mohit Jaitly26-Nov-06 20:11
Mohit Jaitly26-Nov-06 20:11 
QuestionLocale of DataSet ?? Pin
raccsdl26-Nov-06 19:51
raccsdl26-Nov-06 19:51 
QuestionResizing the window Pin
sujithkumarsl26-Nov-06 19:42
sujithkumarsl26-Nov-06 19:42 
AnswerRe: Resizing the window Pin
Eduard Keilholz26-Nov-06 20:33
Eduard Keilholz26-Nov-06 20:33 
GeneralRe: Resizing the window [modified] Pin
sujithkumarsl26-Nov-06 22:17
sujithkumarsl26-Nov-06 22:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.