By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,688 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,688 IT Pros & Developers. It's quick & easy.

Custom Control/Component

P: n/a
I have made a custom control that has a property that is a custom component.

When I put the custom control on a form in the designer, the propery is
listed in the Properties window with a default value of (none).

I then put the custom component on the form and it goes in the Component
tray like it is supposed to.

I then drop down the property on the custom control and the only value ni
the list is (none).

The custom control is derived from TextBox so if I put a ContextMenu
component on the form and then drop down the ContextMenu property it shows
(none) and contextMenu1.

What attribute do I need to put on the component or what attribute do I need
to put on the property of the control to have it use the available components
of the correct type that are on the form???

Thanks for any help on this issue.
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.