Hi, All
Someone might help me for this will be appreciated.
I want two forms to share same instance of a control. That is, say you have a treeview control tvCtl in form one frmOne, you want this treeview control also shows up in form two frmTwo. So when you do something changes on tvCtl at frmOne, frmTwo will show the change simutanously. That is, this instance of treeview control shows up at two forms simutanously, or two forms own the same instance of this treeview control and show up.
Think in this way: This tvCtl is an object, two forms frmOne and frmTwo both reference to the same object. (memory handle?) so any change in this object will be shown up in both forms.
Thanks in advance
Someone might help me for this will be appreciated.
I want two forms to share same instance of a control. That is, say you have a treeview control tvCtl in form one frmOne, you want this treeview control also shows up in form two frmTwo. So when you do something changes on tvCtl at frmOne, frmTwo will show the change simutanously. That is, this instance of treeview control shows up at two forms simutanously, or two forms own the same instance of this treeview control and show up.
Think in this way: This tvCtl is an object, two forms frmOne and frmTwo both reference to the same object. (memory handle?) so any change in this object will be shown up in both forms.
Thanks in advance
Comment