Make propertygrid display custom form...

lidds

Junior Contributor
Joined
Nov 9, 2004
Messages
210
I have a propertygrid in my project and in this I have a text/string valve which the user can just enter text in. However I also have a text edit form that I have created, is there a way that I can customise the property value so that the user can enter text as normal but also display a button in the value field that if the user clicks on the button then it will display my custom text edit form form?

If someone could help me with this then that would really be appreshiated, I have posted the current code below, and just for reference I am using VB.Net

Code:
    <CategoryAttribute("Text"), _
         Browsable(True), _
         [ReadOnly](False), _
         BindableAttribute(False), _
         DefaultValueAttribute("True"), _
         DesignOnly(False), _
         DescriptionAttribute("Specifies the current font content")> _
       Public Property Text() As String
        Get
            Return m_Text
        End Get
        Set(ByVal Value As String)
            m_Text = Value
        End Set
    End Property

Thanks in advance

Simon
 
Back
Top