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

disabling tabpages swapping on a tabcontrol

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

Jul 21 '05 #1
2 1380
guy
hook into the SelectedIndexChanged event and based on your
conditions set the selectedindex of the tabcontrol back to
the original tab if necessary
-----Original Message-----
Hi all,
I would like in a tab control to temporarly disable the possibility forthe user to switch tabpage while some tasks are performed.
Is it possible?

Thanks for your answer,

Giulio

.

Jul 21 '05 #2
Cor
Hi Giulio,

Therefore is tabcontrol.enabled = false
(And all enabled properties of forms controls)

I hope this helps

Cor
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?

Jul 21 '05 #3

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

Similar topics

1
by: ChrisK | last post by:
Bonjour, Débutant en VB.Net, je me trouve devant un souci. Au taf, une solution d'appli par onglet a été retenue...et sur qui ça tombe...sur kiki ! Bref voici mon souci : J'ai une form...
4
by: Peter Row | last post by:
Hi, I have created a UserControl which is subsequently hosted on a standard form. My control has a TabControl on it but it has no TabPages configured. At runtime I create X pages and put a...
1
by: Luc | last post by:
Hi, I have a TabControl and, at runtime, I need to add some tabpages. The problem is that each tabpage is similar to the others and contains several controls. If I do...
7
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...
2
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
2
by: Kevin | last post by:
Although lots of people described how to workaround the lack of ability to hide and show tab pages on a tab control, I couldnt find a code example so I made one. Create a class that inherits from...
7
by: Vignesh | last post by:
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.
0
by: Sarmatia | last post by:
I'm stumped. I load add-ins at run time. Each Add-In has a collection of UserControls. These UserControls are then added to a TabControl as TabPages. The UserControls are created in the Add-In's...
11
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...
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: 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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...

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.