Solved

Create Usercontrol with property like TabPages Collection

Posted on 2010-11-11
3
976 Views
Last Modified: 2012-05-10
Hello,

Im trying to create my own custom tab control. I know you can inhert the vb.net provided tab control and then work with its properties however in this case I want to create my own from scratch. One of the first things that I want to do is create a property much like the TabPages property on the vb.net TabControl. Im having a real hard time creating a property like this. I would like for the property to be dynamic at runtime and maybe even open a form that would allow the user/designer to add tabs at design time by clicking "add tab" or something like that. Basically I want more than just the one value property, I want a property that is like a collection and able to be set at designtime. Thanks for any help with this!

Miguel
0
Comment
Question by:coloccia
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 34117156
0
 

Author Comment

by:coloccia
ID: 34136184
Thanks Idle_Mind, this might be exactly what Im looking for, I'll look into it and let you know. Thanks
0
 

Author Comment

by:coloccia
ID: 34149494
The UITypeEditor worked perfect!!! Thanks so much!!!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question