I would like to create a Custom Control that I can then use in a form.
I'm guessing that it would have to be a class like say clsTextBoxInteger.
The class would have all the events that I always want in a TextBox control that restricts entry to Integers.
I recognize that I can probably have the form's Initialize event create the objects from my class, but I can't see how it looks while I'm developing.
Is there anyway to create the class and put it on the ToolBox so that I can just click on it to put it in the form, or maybe drag and drop it on my form?
I'm considering creating my class and have it replace a TextBox during the form's initialze. That way I can see how it looks, but when I actually run the form the Textbox would be replaced by my clsTextBoxInteger.
Are there any other options available to me?
Bookmarks