By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

Creating my own Tabcontrol-like control in VB.Net

P: n/a
Hi there.
First of all, sorry for the double post, but I was not sure about which was
the most correct group for this question...
I am trying to create my own control that will be alot like the control
Outlook 2003 has where you can choose "mail", "Calendar", etc.
However, I've got two questions.
1) If you add a tab control, you can choose which tab you want to add
controls to in the development environment. How can I add this functionality
to my own control?
2) Each tab page has its own panel, and you can add controls to it at design
time. How can I archieve this with my own control?

Thank you for your time!

André Nogueira
Nov 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a

"André Nogueira" <an**@netcabo.pt.NOSPAM>
I am trying to create my own control that will be alot like the control
Outlook 2003 has where you can choose "mail", "Calendar", etc.
However, I've got two questions.
1) If you add a tab control, you can choose which tab you want to add
controls to in the development environment. How can I add this
functionality to my own control?
2) Each tab page has its own panel, and you can add controls to it at
design time. How can I archieve this with my own control?


Hi André,

I know that this is not an answer to your question but I have made the
experience that buying such a control is cheaper than doing it oneself from
scratch.

Here are two links to commercial controls:

http://www.devcomponents.com/dotnetbar/
http://www.windowsforms.net/ControlG...328&tabindex=0
http://www.infragistics.com/products/lookandfeel.asp

Cheers

Arne Janning
Nov 21 '05 #2

P: n/a
Yeah, I know. But I have lots of free time and am doing this just for the
fun of it, until I go to college in October.
I already made, for instance, Office 2003-style menus though there are many
around.
It's just a way of learning new things and experimenting.
If I were doing a commercial program, I'd definately buy the controls as
oposed to writing my bug-filled ones from scratch ;)
Thank you for your suggestion though!

Andre Nogueira

"Arne Janning" <sp*****************@msn.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

"André Nogueira" <an**@netcabo.pt.NOSPAM>
I am trying to create my own control that will be alot like the control
Outlook 2003 has where you can choose "mail", "Calendar", etc.
However, I've got two questions.
1) If you add a tab control, you can choose which tab you want to add
controls to in the development environment. How can I add this
functionality to my own control?
2) Each tab page has its own panel, and you can add controls to it at
design time. How can I archieve this with my own control?


Hi André,

I know that this is not an answer to your question but I have made the
experience that buying such a control is cheaper than doing it oneself
from scratch.

Here are two links to commercial controls:

http://www.devcomponents.com/dotnetbar/
http://www.windowsforms.net/ControlG...328&tabindex=0
http://www.infragistics.com/products/lookandfeel.asp

Cheers

Arne Janning

Nov 21 '05 #3

P: n/a
* "André Nogueira" <an**@netcabo.pt.NOSPAM> scripsit:
I am trying to create my own control that will be alot like the control
Outlook 2003 has where you can choose "mail", "Calendar", etc.
However, I've got two questions.
1) If you add a tab control, you can choose which tab you want to add
controls to in the development environment. How can I add this functionality
to my own control?
2) Each tab page has its own panel, and you can add controls to it at design
time. How can I archieve this with my own control?


Take a look at the implementation of the explorer bar's design-time
support in the Visual Basic PowerPack:

<URL:http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=167542e0-e435-4585-ae4f-c111fe60ed58>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4

P: n/a
"André Nogueira" <an**@netcabo.pt.NOSPAM> schrieb
Hi Andrč,

If you are not a commercial programmer I totally agree with you: there is no
better way of learning Windows.Forms than developing one's own controls.

Unfortunately, AFAIK there are no free implementations or at least how-to's
that describe how to implement a Outlook 2003-style Tabbar.

So you'll have to do everything on your own... (The learning effect might
even be bigger :-)

Cheers

Arne Janning
Nov 21 '05 #5

P: n/a
Yeah, I know I have to do it all by myself.
The only questions I have are the ones I posted on my first post.
I found some code about the expanding control panels coded in VB.net that
mimic the controls found in Windows XP's Windows Explorer.
I'll look at them and take it from there.

Cheers

Andre Nogueira

"Arne Janning" <sp*****************@msn.com> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
"André Nogueira" <an**@netcabo.pt.NOSPAM> schrieb
Hi Andrč,

If you are not a commercial programmer I totally agree with you: there is
no better way of learning Windows.Forms than developing one's own
controls.

Unfortunately, AFAIK there are no free implementations or at least
how-to's that describe how to implement a Outlook 2003-style Tabbar.

So you'll have to do everything on your own... (The learning effect might
even be bigger :-)

Cheers

Arne Janning

Nov 21 '05 #6

P: n/a
I have not looked into designing an outlook bar like in V2003, but I suggest
that this article:

http://www.codeproject.com/cs/miscctrl/csoutlookbar.asp

....might lead you to some answers to your basic questions... True it is not
in VB.NET but the basic design principals are the same.

"André Nogueira" <an**@netcabo.pt.NOSPAM> wrote in message
news:uL**************@tk2msftngp13.phx.gbl...
Hi there.
First of all, sorry for the double post, but I was not sure about which was the most correct group for this question...
I am trying to create my own control that will be alot like the control
Outlook 2003 has where you can choose "mail", "Calendar", etc.
However, I've got two questions.
1) If you add a tab control, you can choose which tab you want to add
controls to in the development environment. How can I add this functionality to my own control?
2) Each tab page has its own panel, and you can add controls to it at design time. How can I archieve this with my own control?

Thank you for your time!

André Nogueira

Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.