I've written a UserControl, and within that control the user is able to change some properties on a form. I can't figure out how to display the changes in the property grid. The only time I've been able to update these properties, is in the UserControl's Load event. This won't work, because changes will be made after it's loaded.

My properties for the control are Public. I have sent changes to the properties in the same file that contains the properties, and I've also tried it elsewhere in the application. Neither way has worked.

A few examples of properties that can be changed:

Query Statement:
Report Name:

I'd really appreciate help with this. Thanks.
~ Sheryl

At the begining of the property add this:
<Category("This is the category you want it in"), _
Description("This is the description of the property")> _
Public Property YourProperty() As Type

Dim mText As String = Me.Name
    <Category("Appearance"), _
     Description("Text is displayed in the center of the container")> _
     Public Property MyText() As String
            MyText = mText
        End Get
        Set(ByVal value As String)
            mText = value
        End Set
    End Property

Hi Wayne, and thank you for your response! I still can't get it to work, so I must have something fundamentally wrong with the way my files are setup. I'll keep trying different things.

~ Sheryl