Results 1 to 4 of 4

Thread: [2008] How to use a class that inherits RichTextBox?

  1. #1

    Thread Starter
    Addicted Member kaisellgren's Avatar
    Join Date
    Jan 2006
    Posts
    149

    [2008] How to use a class that inherits RichTextBox?

    Hi,

    I have a class that inherits RichTextBox and has more functionality. However, instead of creating typical RichTextBox, I want to create this new extended RTB class and show it on the form and let user to use it.

    The following does not show anything to me:
    Code:
    Dim SRTB As New SecondRTB
    SRTB.Width = 320
    SRTB.Height = 320
    SRTB.Enabled = True
    SRTB.Visible = True
    SRTB.Show()

  2. #2
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: [2008] How to use a class that inherits RichTextBox?

    you need to post ALL your code. As far as we know, you aren't inheriting it properly.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  3. #3

  4. #4

    Thread Starter
    Addicted Member kaisellgren's Avatar
    Join Date
    Jan 2006
    Posts
    149

    Re: [2008] How to use a class that inherits RichTextBox?

    Quote Originally Posted by NickThissen
    Is this a user control you are talking about?

    Try (re)building your solution first, you will the find the control in the toolbox.
    Thanks a lot!

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