Another Question On Class Properties

  • Thread starter Thread starter WStoreyII
  • Start date Start date
W

WStoreyII

I have already got some help from ken on this
what i want to do is to maek a property have a drop down list

for instance if i have an object customcombo
i could get
customcombo. formatstyle. here is a list
ken told me to use the enum to create the list that would go there

and this worked

how ever here is my new question

I have a user control that i would like to set the properties up like this
on this control there are two controls that i would like to set up
properties for so lets say they are a text box and a combobox

so when a user types my control

mycontrol. a list would show up with both controls

mycontrol.textbox
.combobox
now from here i would like properties to show up for each control like this

mycontrol.textbox.height
.style
.formate
now once we get to this point i can use the enum for the list of options
but how do i get to this point

i hope this was not to confusing and that you can understand what it is i
want cuz i dont yet know all of the coding lingo

WStoreyII

Thanks In advance
 
* "WStoreyII said:
I have already got some help from ken on this
what i want to do is to maek a property have a drop down list

for instance if i have an object customcombo
i could get
customcombo. formatstyle. here is a list
ken told me to use the enum to create the list that would go there

and this worked

how ever here is my new question

I have a user control that i would like to set the properties up like this
on this control there are two controls that i would like to set up
properties for so lets say they are a text box and a combobox

so when a user types my control

mycontrol. a list would show up with both controls

mycontrol.textbox
.combobox
now from here i would like properties to show up for each control like this

mycontrol.textbox.height
.style
.formate
now once we get to this point i can use the enum for the list of options
but how do i get to this point

Inside the usercontrol:

\\\
Public ReadOnly Property TheTextBox() As TextBox
Get
Return Me.TextBox1
End Get
End Property
///
 
Back
Top