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