U
USNET
I need to add a method to a user control that can be called from another
usercontrol. Adding the method is not difficult and its already done.
However, the problem is that the method is not available from the second
user control.
For simplicity, here is the basic method:
Public Function ChangePaletteData(ByVal p_DataType As String) As Integer
me.lblPaletteName.text = p_DataType
' more code'
End Function
This method can not be seen from outside this user control. Is this
expected behavior? If so, why can I see a property I created outside of it,
but not the method?
Any help would be appreciated.
Luis Barnes
usercontrol. Adding the method is not difficult and its already done.
However, the problem is that the method is not available from the second
user control.
For simplicity, here is the basic method:
Public Function ChangePaletteData(ByVal p_DataType As String) As Integer
me.lblPaletteName.text = p_DataType
' more code'
End Function
This method can not be seen from outside this user control. Is this
expected behavior? If so, why can I see a property I created outside of it,
but not the method?
Any help would be appreciated.
Luis Barnes