Results 1 to 7 of 7

Thread: [RESOLVED] [2005] text property of inherited label

Threaded View

  1. #7

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,414

    Re: [RESOLVED] [2005] text property of inherited label

    i found the code to make it invisible everywhere now

    vb Code:
    1. Imports System.ComponentModel
    2.  
    3. ''this overrides the text property + hides it from the properties
    4. ''window + the code editor
    5. <EditorBrowsable(EditorBrowsableState.Never)> _
    6.     <Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
    7. Public Overrides Property Text() As String
    8.      Get
    9.          Return MyBase.Text
    10.      End Get
    11.      Set(ByVal Value As String)
    12.  
    13.      End Set
    14. End Property
    Last edited by .paul.; Jan 31st, 2008 at 03:47 PM.

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