473,383 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

In Vb.net 2003 , Tab Pages Visiblity Problem?

HI,
I'm doing Vb.net 2003 Windows application. In that at Design time in tab control i have 5 Tab Pages , Each Tab pages contains different set of controls(Command Button , Text Box).Depends on the User Selection , i have to set visibilty on the Tab Pages .... I Try it out Like

Tabcontrol1.tabpages(0).visible = false ,

It's not Working... It's Urgent.........

Any Response is Appreciated

Thanx in Adv

Ganesh
Oct 11 '08 #1
5 1428
joedeene
583 512MB
I don't think that the TabPage Class has the .Visible property as most controls, if you look in the designer view, for the properties of the selected tabpage(not tabcontrol), it doesn't have a .visible property.

joedeene
Oct 11 '08 #2
jg007
283 100+
try this -

Expand|Select|Wrap|Line Numbers
  1.  
  2.  TabControl1.TabPages.Remove(TabPage2)
  3.  
  4.  
just replace ' tabpage2 ' with the name of the page, if you want to re-add it use the .insert option -

Expand|Select|Wrap|Line Numbers
  1.  
  2.         TabControl1.TabPages.Insert(TabControl1.TabPages.Count, TabPage2)
  3.  
  4.  
I am using visual studio 2008 but the code 'should' be the same :)
Oct 11 '08 #3
HI,
Thanx for u'r Reply...

In Vb 6, sstab1.tabvisible(1) = false it's working Fine, I need Equivalent for this in VB.net 2003

Bye

Ganesh
Oct 13 '08 #4
jg007
283 100+
HI,
Thanx for u'r Reply...

In Vb 6, sstab1.tabvisible(1) = false it's working Fine, I need Equivalent for this in VB.net 2003

Bye

Ganesh
have you tried using the code? it should work with vb 2003
Oct 13 '08 #5
Plater
7,872 Expert 4TB
HI,
Thanx for u'r Reply...

In Vb 6, sstab1.tabvisible(1) = false it's working Fine, I need Equivalent for this in VB.net 2003

Bye

Ganesh
Removing the tab IS the equivalent for .NET
Oct 13 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Smoothice | last post by:
Can anyone tell me how to do this I am very new and experimenting with asp.net using vb I want to have to different buttons that load and pass data to different pages depending on the button...
9
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
2
by: Rob Penner | last post by:
Hello. I am running into a strange problem moving my asp.net site (c#) from a Windows 2000 server to Windows 2003. This problem only happens on 2 pages out of about 30 on the entire site. On...
6
by: Blue Streak | last post by:
Hello, I have a question for the group. My current project uses multiple panels to display the contents of a web page. The thing is many of these panels are hidden while only one is visible at...
0
by: vasu devan | last post by:
Dear Gurus, My ASP.NET website is running on .NET 1.1. hosted in windows server 2003 enterprise edition. We are having two sites. They are 1. One internet site 2. One intranet site. Both...
0
by: Vasu | last post by:
Hi All, My ASP.NET website is running on .NET 1.1. hosted in windows server 2003 enterprise edition. We are having two sites. They are 1. One internet site 2. One intranet site. Both...
3
by: genc_ymeri | last post by:
Hello over there, I would like to generate the textboxes on the fly depending on the number of coulmns in a returning dataset. I tried something like this : TextBox temp = new TextBox();...
6
by: Jase | last post by:
Hi, I have two servers, both running windows 2003 and both containing the exact same properties for IIS. I have a set of asp intranet pages that are located inside the c:\inetpub\wwwroot\test...
1
by: Bryant | last post by:
Hi I'm trying to get on checkbox to control the visiblity of another based on whether the first control is checked. It should be a simple IF statement but I am not sure of the properies involved and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.