Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / June 2004

Tip: Looking for answers? Try searching our database.

Limit types available in designer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jared - 24 Jun 2004 22:19 GMT
Hello all,

I am new to this so I may not explain myself very well.

1. I have an inherited TreeView control that I would like to have a partner
control set at design time using the properties window; like the
ControlToValidate property in some web controls. When a node is clicked in
my TreeView I want to fill my "partner" control with data based on the
selection. I want to support controls such as DataGrid, ListView and ListBox
controls, but I want to set this property at design time using the property
grid. How can this be done?

2. Assuming this can be done, do I use a property of Type Control? Do I use
an interface that is common to the controls I want to support?

I have been searching for some time now I have not been able to find any
documentation pertaining to this exact problem. I would really like an
example if anyone already has one.

Thanks in advance,
Jared
Jared - 24 Jun 2004 22:23 GMT
Sorry, I'm coding in Visual Basic.

> Hello all,
>
[quoted text clipped - 17 lines]
> Thanks in advance,
> Jared

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.