Click here to Skip to main content
15,662,980 members
Home / Discussions / C#
   

C#

 
GeneralRe: ProperyGrid and ListBox Pin
jason_mf12-Mar-08 17:24
jason_mf12-Mar-08 17:24 
GeneralMacros Pin
ellllllllie11-Mar-08 21:38
ellllllllie11-Mar-08 21:38 
GeneralRe: Macros Pin
John_Adams11-Mar-08 23:10
John_Adams11-Mar-08 23:10 
GeneralRe: Macros Pin
ellllllllie11-Mar-08 23:33
ellllllllie11-Mar-08 23:33 
GeneralRe: Macros Pin
buchstaben12-Mar-08 0:21
buchstaben12-Mar-08 0:21 
GeneralRe: Macros Pin
ellllllllie12-Mar-08 3:02
ellllllllie12-Mar-08 3:02 
QuestionHidding a tab page Pin
Programm3r11-Mar-08 19:54
Programm3r11-Mar-08 19:54 
GeneralRe: Hidding a tab page Pin
JustChiragPatel11-Mar-08 20:10
JustChiragPatel11-Mar-08 20:10 
hi,

yes i have also faced this problem.
we can not hide tab page in tab control.
but i have find a solution by making one custom tab control which has "HideTabPage" property which allow me to hide tab page.

but you can also disable all controls on that tabpage, if you don't want to allow users to use controls on that tab page.

you ca use this code...

For Each ctl As TabPage In myTabControl.TabPages
If ctl.Name.Equals(tPageToRemove.Name) Then
For Each ctlchild As Control In ctl.Controls
ctlchild.Enabled = False
Next
End If
Next

by this code you can disable all controls on given tab page.

Bye Big Grin | :-D .

Chirag Patel
Programmer Analyst
India

QuestionRe: Hidding a tab page Pin
Programm3r11-Mar-08 20:21
Programm3r11-Mar-08 20:21 
GeneralRe: Hidding a tab page Pin
JustChiragPatel11-Mar-08 20:36
JustChiragPatel11-Mar-08 20:36 
GeneralRe: Hidding a tab page Pin
N a v a n e e t h11-Mar-08 21:04
N a v a n e e t h11-Mar-08 21:04 
GeneralRe: Hidding a tab page Pin
Programm3r11-Mar-08 21:22
Programm3r11-Mar-08 21:22 
GeneralRe: Hidding a tab page Pin
Xmen Real 11-Mar-08 23:21
professional Xmen Real 11-Mar-08 23:21 
Questionsorting Pin
Pankaj Garg11-Mar-08 19:30
Pankaj Garg11-Mar-08 19:30 
GeneralRe: sorting Pin
JustChiragPatel11-Mar-08 20:01
JustChiragPatel11-Mar-08 20:01 
General.net framework installation problem Pin
Miss Maheshwari11-Mar-08 18:32
Miss Maheshwari11-Mar-08 18:32 
GeneralRe: .net framework installation problem Pin
Xmen Real 11-Mar-08 19:10
professional Xmen Real 11-Mar-08 19:10 
GeneralRe: .net framework installation problem Pin
Miss Maheshwari11-Mar-08 20:00
Miss Maheshwari11-Mar-08 20:00 
GeneralRe: .net framework installation problem Pin
JustChiragPatel11-Mar-08 20:21
JustChiragPatel11-Mar-08 20:21 
GeneralRe: .net framework installation problem Pin
N a v a n e e t h11-Mar-08 21:07
N a v a n e e t h11-Mar-08 21:07 
GeneralRe: .net framework installation problem Pin
JustChiragPatel11-Mar-08 21:15
JustChiragPatel11-Mar-08 21:15 
GeneralRe: .net framework installation problem Pin
N a v a n e e t h11-Mar-08 21:20
N a v a n e e t h11-Mar-08 21:20 
GeneralRe: .net framework installation problem Pin
Justin Perez12-Mar-08 3:32
Justin Perez12-Mar-08 3:32 
GeneralRe: .net framework installation problem Pin
Miss Maheshwari11-Mar-08 21:33
Miss Maheshwari11-Mar-08 21:33 
GeneralRe: .net framework installation problem Pin
N a v a n e e t h11-Mar-08 22:31
N a v a n e e t h11-Mar-08 22:31 

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.