We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Putting Class in Component Tray

Thread ID:

Created:

Updated:

Platform:

Replies:

694 Jul 31,2002 05:08 PM UTC Jul 31,2002 07:51 PM UTC WinForms 2
loading
Tags: FAQ
Eric Franz
Asked On July 31, 2002 05:08 PM UTC

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? Thanks, Eric Franz Physicians Accounting Ltd

Administrator [Syncfusion]
Replied On July 31, 2002 05:17 PM UTC

Make your class derive from the Component class. -Praveen Ramesh

Eric Franz
Replied On July 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: Imports System.ComponentModel _ Public Class Class1 Inherits System.ComponentModel.Component End Class

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;