Hi Km,
You can't use the visual designer to subclass the textbox. You need to create a new class and have it inherit from the textbox class:
public class myTextBox : TextBox
{
}
>How can I subclass a textbox? I created a Windows Control Library project and choose "Add Inherited Control" from the Add New Item menu. However "textbox" is not available. Could any body show me the way?
>
>TIA
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi