[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()
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.
Re: [2008] How to use a class that inherits RichTextBox?
Is this a user control you are talking about?
Try (re)building your solution first, you will the find the control in the toolbox.
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! :D