Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

 

   <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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...