473,657 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TabControl1.Tab Pages(2).Enable d = false doesn't work either?

Hello all,
I saw the post earlier this week that the .Visible property for Tab
Pages doesn't work. It seems that the .Enabled property also doesn't work.
I would like to only disable one or more tab pages based on 'on-the-fly'
criteria, but make them disappear altogether. Is this not possible?
Workarounds?

TIA,
Will
Nov 20 '05 #1
2 3471
Hi Will,

* "Will Freeman" <wf******@golde ngate.net> scripsit:
I saw the post earlier this week that the .Visible property for Tab
Pages doesn't work. It seems that the .Enabled property also doesn't work.
I would like to only disable one or more tab pages based on 'on-the-fly'
criteria, but make them disappear altogether. Is this not possible?
Workarounds?


'Enabled' and 'Visible' don't work for the tabpage. Nevertheless, you
can prevent the user from selecting another tab:

<URL:http://www.google.de/groups?selm=hxA g9.261485%24kp. 887854%40rwcrns c52.ops.asp.att .net>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Why not tring the XTabControl from http://www.springsys.com, this control
supports this.
-Marin
"Will Freeman" <wf******@golde ngate.net> wrote in message
news:40******** *************** @newsreader.gol dengate.net...
Hello all,
I saw the post earlier this week that the .Visible property for Tab
Pages doesn't work. It seems that the .Enabled property also doesn't work. I would like to only disable one or more tab pages based on 'on-the-fly'
criteria, but make them disappear altogether. Is this not possible?
Workarounds?

TIA,
Will

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9732
by: HolaGoogle | last post by:
Hi all, Can you please tell me what's wrong with my code??? i do have this database in wich i have to field.One is a "yes/no" field and another one is "number" field. To display the yes/no field in my asp form i use a checkbox and fot he other field i use a normal text box. if the yes/no field is checked then the other field is enabled otherwise it has to be disabled.Here's what i've done so far: Do While Not ObjRS.EOF <td><input...
2
1395
by: Giulio Mastrosanti | last post by:
Hi all, I would like in a tab control to temporarly disable the possibility for the user to switch tabpage while some tasks are performed. Is it possible? Thanks for your answer, Giulio
0
1069
by: Thanos | last post by:
Hi everybody. Excuse my english is not perfect. I would to hide TabPages but I have tried >> TabPage.hide() or >> TabPage.Visible = False but no luck. Maybe the current Tab control doesn't support hiding/unhiding
1
1683
by: Paul Sampson | last post by:
Hi, Does anyone know how to hide certain TabPages inside a TabControl in VS.NET 2003? I've seen code to remove the tabpage but I want to show/hide based on the user's access rights each time, rather than removing the tabpage. There doesn't seem to be an Enabled or Visible property and setting Locked = True doesn't seem to do anything either.
4
2411
by: Kelly Dykstra | last post by:
Hi I like to make certain tab visible or not visible based on a certain condition However, after executing the following statement, it still shows TabPages(2) ( this tabcontrol has 4 tapPages TabControl1.TabPages(2).Visible = False Any Idea Thank Kelly
3
2235
by: Tom McL. | last post by:
My Program has two forms From1 and Form2. On From1 I have a TabControl1 witch has 8 tabs currently. I would like to add a new tab from Form2 is this possible? I have tried the following code on Form2 with no success: Public MyFrom1 As New From1 Private Sub btnNewTab_Click(ByVal sender As System.Object, ByVal e As
7
3574
by: Richard | last post by:
I have a form with seven tapages. These span only one record with a large number of fields (textboxes). On Tabpage1 I display a number of read-only text boxes. This displays information about a particular Seller and is read from a SellerDataview at form load. On Tabpages 2-7, the information comes from another table/another DealDataview.
11
18111
by: Pete Kane | last post by:
Hi All, does anyone know how to add TabPages of ones own classes at design time ? ideally when adding a new TabControl it would contain tab pages of my own classes, I know you can achieve this with ListView columns so it should be doable, thanks
2
1777
by: elaine | last post by:
Hi, I have a usercontrol which contains multiple server controls like textbox, radiobutton..., I have a public field in the usercontrol "Enabled". What i want to do is when the usercontrol's "Enabled" is set to false, set all its child controls "Enabled" to false. I know i can set them one by one. But there should be a easy way to do it like : for(int i=0;i<myUserControl.Controls.Count;i++)
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7327
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.