Results 1 to 5 of 5

Thread: [2005] Custom Component Property Default

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2003
    Posts
    758

    [2005] Custom Component Property Default

    I created a version of the standard TextBox that adds an IsValid property. When I started using this control in my project, I had IsValid initially set to False inside my component. Now, I want to have it initially set to true. I made the changes to the component and recompiled the code. Everywhere I already have this control, it still remembers this default value since it is in the .Designer file.

    How do I get this to update when I make a change? Surely, I don't have to manually do this.

    Code:
        <System.ComponentModel.Browsable(False)> _
        Property IsValid() As Boolean
            Get
                Return _IsValid
            End Get
            Set(ByVal value As Boolean)
                _IsValid = value
            End Set
        End Property
    Last edited by Aspnot; Sep 6th, 2007 at 12:41 PM.
    My.Settings.Signature = String.Empty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width