N
Noozer
I have a usercontrol. One of the properties is a group of four images. If I
add the control to a form and look at it's properties I don't see any way to
access this property.
Can someone point to to the help file or webpage to explain how I can get
this property to appear in the IDE?
(...also is there a "name" for this kind of property?)
This is the code for this property...
Public Enum hotState
Normal
Hot
Down
Disabled
End Enum
Dim Images(3) as Image
'Set/Return any of the images, based on the index provided
Public Property Image(ByVal index As hotState) As Image
Get
'Return the normal button image
Return Images(index)
End Get
Set(ByVal value As Image)
'Memorize the normal button image
Images(index) = value
End Set
End Property
add the control to a form and look at it's properties I don't see any way to
access this property.
Can someone point to to the help file or webpage to explain how I can get
this property to appear in the IDE?
(...also is there a "name" for this kind of property?)
This is the code for this property...
Public Enum hotState
Normal
Hot
Down
Disabled
End Enum
Dim Images(3) as Image
'Set/Return any of the images, based on the index provided
Public Property Image(ByVal index As hotState) As Image
Get
'Return the normal button image
Return Images(index)
End Get
Set(ByVal value As Image)
'Memorize the normal button image
Images(index) = value
End Set
End Property