Groups | Blog | Home
all groups > vb.net controls > august 2004 >

vb.net controls : Creating my own Tabcontrol-like control in VB.Net


André Nogueira
8/20/2004 3:27:41 PM
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

Ray Cassick (Home)
8/20/2004 5:26:21 PM
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.



[quoted text, click to view]

André Nogueira
8/20/2004 6:57:28 PM
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

[quoted text, click to view]

André Nogueira
8/20/2004 7:30:25 PM
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

[quoted text, click to view]

Arne Janning
8/20/2004 7:49:14 PM

"André Nogueira" <anog@netcabo.pt.NOSPAM>
[quoted text, click to view]

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/ControlGallery/ControlDetail.aspx?Control=328&tabindex=0
http://www.infragistics.com/products/lookandfeel.asp

Cheers

Arne Janning

hirf-spam-me-here NO[at]SPAM gmx.at
8/20/2004 8:09:24 PM
* "André Nogueira" <anog@netcabo.pt.NOSPAM> scripsit:
[quoted text, click to view]

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]
Arne Janning
8/20/2004 8:20:12 PM
"André Nogueira" <anog@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

AddThis Social Bookmark Button