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

TabControl design editor

I want to place a tabControl with almost identical
properties on several forms. I think the best way is to
define a UserControl that inherits
System.Windows.Forms.TabControl, and place all my
controls on it. The problem is that I don't know how to
bring up the graphical design interface for the
TabControl. I suppose I COULD just design it as a
UserControl and place a TabControl on it, but that seems
a bit... inelegant (I'm going to have to reference the
tabControl's child controls when I place the UserControl).

Is there a way to make the UserControl use the TabControl
Designer? Am I going about this all wrong?

Thanks.

Pat
Nov 20 '05 #1
2 2341
Cor
Hi Patrick,

Did you already look at this link?

http://msdn.microsoft.com/library/de...wfccontrol.asp

I hope this helps?

Cor

Is there a way to make the UserControl use the TabControl
Designer? Am I going about this all wrong?

Nov 20 '05 #2
Thanks Cor,

Since what I want is just a really just a TabControl with
some TextBoxes and ComboBoxes already placed on it,
rather than building a UserControl and then exposing all
of the TabControl's methods and properties AND all of its
subcontrols' methods and properties, I wanted to build a
control that inherits directly from
System.Windows.Forms.TabControl and uses the TabControl's
designer. That way (I THINK) the TabControl's methods
and properties will ALREADY be exposed to any inheriting
form; AND (it seems to me), if I change the TabControl's
subcontrols' visibility modifiers from 'Friend' to,
say, 'Protected', THEIR properties and methods should be
available to inheriting forms as well. But, like I said,
I might be going about this all wrong.

Thanks for the help.

Pat
-----Original Message-----
Hi Patrick,

Did you already look at this link?

http://msdn.microsoft.com/library/default.asp? url=/library/en-
us/vbcon/html/vbconwalkthroughcreatingcompositewfccontrol.
asp
I hope this helps?

Cor

Is there a way to make the UserControl use the TabControl Designer? Am I going about this all wrong?

.

Nov 20 '05 #3

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

Similar topics

1
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...
4
by: Rachel Suddeth | last post by:
I would like to write a designer verb for a class I have that inherits from TabControl. I figure the only way to do that without breaking the special designer stuff that works for TabControl would...
4
by: Max | last post by:
I have a form in my project, which based on the user selection (probably from a combo box) has to change its content. I guess the best way to describe it is if I had a TabControl on that form, then...
9
by: Michael Turner | last post by:
Hi Guys Having problem with the tab control, I need to set the background color to something different than the standard, I have found code on the web and now can redraw the tabpage buttons so...
0
by: Juan Pedro Gonzalez | last post by:
Hi, I'm running mad with this issue, hope I can explain it correctlly. I've been developping a user control wich is very similar to the TabControl... Basically my control has two panels that...
2
by: Richard Carpenter | last post by:
I have a four-page tabcontrol with a gridview on each page. I have the primary key column of each gridview set to hidden (visible = false), but it still shows up on all but the first page. Anyone...
6
by: pamela fluente | last post by:
Hi, I want to try design a TabControl (for instance http://www.codeproject.com/vb/net/MDITabControl.asp). For design inspiration, I would like to know pointers to beautifully looking...
4
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! Is it possible to put a textbox ou label after tab control page names? I'd like to put some information after the pages, like this: "Tab Page 1" "Tab Page 2" "Tab Page 3" ...
2
by: Jamey | last post by:
Ran into an inconvenience with TabControls yesterday. I found a partial explanation from Allen Browne on the MS message boards explaining when it happens, but not why. I thought Stephen Lebans...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
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...
0
Oralloy
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,...
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...

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.