|
-
Dec 29th, 2004, 03:16 AM
#1
Thread Starter
Fanatic Member
Inheriting 'control' and/or 'controlbase'
I'm writing an owner drawn textbox and want to do so from scratch, forgoing the richtextbox control.
I found that both the TextBox control and RichTextBox control inherit TextBoxBase. TextBoxBase inherits Control.
How would I go about inheriting TextBoxBase and creating the owner drawn textbox? How do I impliment the constructor considering TextBoxBase does not expose one?
I intend to have the following inheritance structure: Control-->TextBoxBase-->ODTextBox
Can this be done in vb.net or will I need to learn C# to do this? Can it even be done?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|