Solved

Create Usercontrol with property like TabPages Collection

Posted on 2010-11-11
3
979 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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