473,320 Members | 1,810 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,320 software developers and data experts.

Enabling / Disabling Tab Pages

I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

Thanks in advance.
Mar 14 '06 #1
7 6928
Vignesh wrote:
I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

Thanks in advance.


Do you want the tab to noot show up at all? Turn Grey? What are you
looking for?

Chris
Mar 14 '06 #2

"Vignesh" <Vi*****@discussions.microsoft.com> wrote in message
news:7B**********************************@microsof t.com...
I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.


What do you mean by disabling?

Mar 14 '06 #3
Vignesh,

EveryThing you want to know about Tabpages and its strange behaviour.

http://dotnetrix.co.uk/tabcontrols.html

I hope this helps,

Cor
"Vignesh" <Vi*****@discussions.microsoft.com> schreef in bericht
news:7B**********************************@microsof t.com...
I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

Thanks in advance.

Mar 14 '06 #4
Hi,

The tab pages should show up(Visible), but disabled. i want the way it works
in VB 6.0. tab control.

"Chris" wrote:
Vignesh wrote:
I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

Thanks in advance.


Do you want the tab to noot show up at all? Turn Grey? What are you
looking for?

Chris

Mar 15 '06 #5
"Vignesh" <Vi*****@discussions.microsoft.com> schrieb:
The tab pages should show up(Visible), but disabled. i want the way it
works
in VB 6.0. tab control.


Disabling tabpages was not supported by VB6' TabStrip control.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 15 '06 #6
Hi,

In SSTab we can individually enable or disable the tabpages. I want way it
works.
Suppose i have button and tabcontrol( has 3 tab pages) in form. On click of
the button i want make the tab page 2 to be disbabled.

Sample Code:

Private Sub Command1_Click()
SSTab1.TabEnabled(1) = False
End Sub

Thanks
Vignesh

"Herfried K. Wagner [MVP]" wrote:
"Vignesh" <Vi*****@discussions.microsoft.com> schrieb:
The tab pages should show up(Visible), but disabled. i want the way it
works
in VB 6.0. tab control.


Disabling tabpages was not supported by VB6' TabStrip control.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 16 '06 #7
"Vignesh" <Vi*****@discussions.microsoft.com> schrieb:
In SSTab we can individually enable or disable the tabpages. I want way it
works.
Suppose i have button and tabcontrol( has 3 tab pages) in form. On click
of
the button i want make the tab page 2 to be disbabled.


ACK, but .NET's TabControl control bases on the same Win32 control VB6'
TabStrip control does. SSTab isn't based on this control.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 16 '06 #8

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

Similar topics

5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
2
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have...
3
by: VSK | last post by:
Hi all, In our ASP.NET web application we have to enable or disable features in each ASP.NET page based on role assigned to user. Ex: if user who logs in is superisor then he can change...
2
by: adeelanjum2001 | last post by:
i am using radiolist box control in my page. when i disable radiolist box when page is displayed first time, that is not ispostback, and when i try to enable it with my javascript code afterwards,...
7
by: John Meyer | last post by:
I have a program where I have to enable or disable a list box based upon a radio button. Is there an "enabled" property on select boxes?
2
by: dougawells | last post by:
Hi- I'm wanting to have a set of radio buttons disabled when a form is displayed, then if they check another specific radio button, those would become enabled. I've tried setting it via...
0
Ali Rizwan
by: Ali Rizwan | last post by:
Hi, How can i control my devices using vb6. Like disabling mouse keyboard speakers etc. Thanx
3
by: D¿ejm | last post by:
Hello, We have a code with lot of printfs. Now I would like to introduce special mode, in which only special messages are displayed and all other are hidden. No macros or replacements please....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.