Hi,
Does anybody know if it's possible to have the small "x" on the tabpages in
a tabcontrol ? I need a nice way to close them, without a big, ugly buttom
on the tabpage itself. It would be cool if the "x" was on the tab "header"
(the one you click on when you want to switch to a tab).
Thanks,
Bene 3 10465
see the TabControl at http://www.dotnetmagic.com/
They have Visual Studio type Tab Controls (where the X is in the top
right corner of the row with all tab "headers").
"Benne" <be***@spam4you .net> wrote in message
news:3f******** **************@ news.dk.uu.net. .. Does anybody know if it's possible to have the small "x" on the
tabpages in a tabcontrol ? I need a nice way to close them, without a big, ugly
buttom on the tabpage itself. It would be cool if the "x" was on the tab
"header" (the one you click on when you want to switch to a tab).
maybe i'm oversimplifying it, but it seems like it wouldn't be too hard to
override the OnPaint method, paint an X, and then detect mouseclicks on that
X and close the tab when it's clicked.
"Benne" <be***@spam4you .net> wrote in message
news:3f******** **************@ news.dk.uu.net. .. Hi,
Does anybody know if it's possible to have the small "x" on the tabpages
in a tabcontrol ? I need a nice way to close them, without a big, ugly buttom on the tabpage itself. It would be cool if the "x" was on the tab "header" (the one you click on when you want to switch to a tab).
Thanks,
Bene
hi michael,
thanks alot. i haven't seen that one before. but the X is not on the header,
but at the right side next to them. it's good, but it would be awesome if
the X was on each header itself.
but thanks alot !
:-) Benne
"Michael Mayer" <mrmayer at charter dot net> wrote in message
news:vi******** ****@corp.super news.com... see the TabControl at http://www.dotnetmagic.com/
They have Visual Studio type Tab Controls (where the X is in the top right corner of the row with all tab "headers").
"Benne" <be***@spam4you .net> wrote in message news:3f******** **************@ news.dk.uu.net. .. Does anybody know if it's possible to have the small "x" on the tabpages in a tabcontrol ? I need a nice way to close them, without a big, ugly buttom on the tabpage itself. It would be cool if the "x" was on the tab "header" (the one you click on when you want to switch to a tab).
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: TMB333 |
last post by:
I've researched as much as I can on the issue, but I've not found any clearly
defined statement that acknowledges that the Hide method for a TabPage object
just doesn't do what it's supposed to do. This appears to be a bug, or maybe
I'm using it incorrectly?
TabPage.Hide should hide the referenced TabPage object, should it not? Do I
have to 'refresh' the Windows form somehow?
The closest I've come to any means of hiding a TabPage from...
|
by: Dmitry Karneyev |
last post by:
Hi!
I've made a form with combobox and a tabcontrol.
Each time the value of combobox changes I need to show only one tabpage from
tabcontrol.
It works, but the tabcontrol bookmark of selected tabpage is visible.
I could be great if it's possible to hide it beacuse this element is useless
in my case.
Can anybody help me?
|
by: RA |
last post by:
Hi
1) I want to create a TabPage class in design mode - how do I do it? What
type of project should I use? Is it going to be a custom control?
2) I have a TabControl that I would like to add to it the TabPage created in
step 1. I don't want to draw the TabPage on the Tabcontrol in design mode,
but to have a few TabPage controls that I candynamicaly load to the
TabControl at runtime.
Thanks
|
by: Supra |
last post by:
I have a tab control in a which a few of the tabs include an AxWebBrowser browser control. Let say i have currently tabpage2 and i typed url in combobox when i pressed enter it doesn't display webbrowser instead i can do create new tab. ne one knows how to display currrently displayed regardless of tabpage(s)?
here is code:
Public Sub AddBrowserTab()
AxWebBrowser1.Visible = False
Dim newPage As TabPage = New TabPage(Text) ' Delcare and...
|
by: GatorBait |
last post by:
Hi everyone,
I have a tabcontrol on a form that contains 4 tabs. I want to make
each tab a seperate form because there is a great deal of code behind
each page, and organizationally it was easier to have each one
seperate. My idea was to just add and remove each form as necessary
based on what page the user clicked on, but I am getting an error when
I try to add the form as a tabpage:
Dim frm as new Form1
| |
by: ray well |
last post by:
i want a user to be able to change tab pages thru the keyboard, i tried
entering the TabPage.text as '&1 Names', "&2 Addresses', etc., so that the
user can change pages by type ALT 1, ALT 2, on the keyboard.
but the text showing up in the tab is '&1 Names' instead of the '1' being
underlined, and being able to be accessed thru the keyboard.
how can i get a user to be able to change from TabPage to TabPage thru the
keyboard? i find it...
|
by: Jeff |
last post by:
..NET 2.0
How do I in the DrawItem event of a TabControl measure how wide the area
displaying TabPage.Text need to be??
For example I've got a tabpage with the text property set to "hello world",
when I run this code it only displays "hello wo"
any suggestions on how to fix this are most welcome
|
by: Jeff |
last post by:
Hey
..NET 2.0
I have a form containing a TabControl. During runtime TabPages get added to
this TabControl.
I want a way to close the TabPages. As it is now, I have to restart the
application for to remove the TabPages. This is not an ideal situation.
|
by: nev |
last post by:
i have a tabcontrol with 2 tabs.
in my datasources pane i have a table with 4 columns -- col1, col2, col3 & col4. now i drag n drop col1 in tab1 & col2 in tab2 as bound textboxes. i place col3 & col4 on my form.
when i run the program, everything's cool. i can navigate the records and all textboxes display the correct data. i click the tabs and everything's fine.
now what i'll do is to programatically display a tab based on the value of...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |