Anything available like the VB6 add property wizard

  • Thread starter Thread starter active
  • Start date Start date
A

active

In VB6 I could invoke a tool ( don't remember how right now) that would
enable me to create properties in my user control that passed through
properties of components on the user control.

I badly need that capability now but can't find it. Is it available in
VB.NET? Anyone know how to do this ??

What I need is something that would create the code in my user control for
all the properties contained in a control contained in my user control.

If I knew how to programmatically get a list of the properties I'd write a
little program to generate the code - which I could then paste into my user
control. Any help how to programmatically get a list ?? I suppose I could
cut it out of the Help but that's a kludge.


Thanks in advance,
Cal
 
Your trying to make your own customer user control right? And you want to
be able to have properties in the property grid?

-CJ
 
I don't know the expression "property grid" but I think the answer is "yes".
I need for eack "Something" property of the picturebox on my usercontrol:

Public Property PicSomething() As Integer
or
Public Property Something() As Integer
Set(ByVal Value As Integer)
Picture1.something = Value
End Set
Get
Return Picture1.something
End Get
End Property

Thanks
Cal
 
Wait, are you talking about PropertyBags? that type of implementation?

Sorry for asking so many questions, just not 100% on what your looking for.


-CJ
 
I need the follow code in my UserControl for each property of the PictureBox
that is on my UserControl and I don't want to type the code

"> > > > I need for each "Something" property of the picturebox on my
 
Back
Top