Custom Textbox Control

  • Thread starter Thread starter Ryan Joseph So
  • Start date Start date
R

Ryan Joseph So

Hi,

I've been searching the web for custom textbox control that doesn't
inherit from Windows textbox control but cannot find one. I've been
trying to make my own custom textbox but I just dont know how to do it.
Can anyone out there help me out how to make one. Just a simple textbox
so i could understand how to make it. This is my first time to make
custom control so i still have much to learn.

Thanks.
 
depending on what you wan't you start with deriving a textbox from the
standard .NET control and modify it to your needs.

greetz mauzi the dude
 
Ryan Joseph So said:
Hi,

I've been searching the web for custom textbox control that doesn't
inherit from Windows textbox control but cannot find one. I've been
trying to make my own custom textbox but I just dont know how to do it.
Can anyone out there help me out how to make one. Just a simple textbox
so i could understand how to make it. This is my first time to make
custom control so i still have much to learn.

Thanks.
Are you sure you want to reinvent everything the standard textbox is and
does?
You refer to "just a simple textbox". It's only simple as viewed through its
interface.
I'd suggest starting your custom control experience by employing
inheritance.
 
Hi,

I actually already done this inhireting from Windows Textbox but there's
just things you can't do when you only inhiret it like overriding the
borderstyle of your textbox and many more. Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top