Does anyone know how to make a class (Class1 for example) that is not a control appear in the toolbox and component tray. The only way I know to get inside the component tray is to inherit from a timer or some other object that already uses it. This is a cheap workaround, does anyone have the right way?
Physicians Accounting Ltd
Make your class derive from the Component class.
EFEric FranzJuly 31, 2002 07:51 PM UTC
I was unable to derive from the component class to get my problem to work. You would assume that the following code would do 2 things. 1: Let me see Class1 in the toolbox, and 2: Let me see Class1 in the Component Tray in the form designer onced I dragged the class to the form.
Here is the code:
Public Class Class1